mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 02:47:43 +01:00
elytra.ignore-unbreaking option can probably be done through datapacks now
This commit is contained in:
@@ -78,10 +78,10 @@ index 2d300905c05c7c23a4da30b3651b331381a1dc0d..30746b3ae45840206bf23e811a9819f3
|
||||
((ServerPlayer) this.player).connection.send(new ClientboundContainerSetDataPacket(this.containerId, 0, this.cost.get()));
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/world/item/ItemStack.java b/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
index d36b5ddc360e4f4cca3ef5c1b5b3d0cbad02614b..a5cdb7f100d161676570a5728e1cfc0e18b7d2cf 100644
|
||||
index 88db87941bfc84bec7a2dcd3c750a854cac72006..c7785f977e64568bca261a34bce712b677ca97c3 100644
|
||||
--- a/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
+++ b/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
@@ -1256,6 +1256,12 @@ public final class ItemStack implements DataComponentHolder {
|
||||
@@ -1255,6 +1255,12 @@ public final class ItemStack implements DataComponentHolder {
|
||||
return !((ItemEnchantments) this.getOrDefault(DataComponents.ENCHANTMENTS, ItemEnchantments.EMPTY)).isEmpty();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user