From fa71e855e23f84743b1a3b2c5c00145e727faf71 Mon Sep 17 00:00:00 2001 From: seymourimadeit Date: Tue, 16 Jul 2024 13:38:39 -0700 Subject: [PATCH] we're gonna fix the bug --- changelog-1.21.txt | 3 +-- .../piglinproliferation/common/items/BucklerItem.java | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog-1.21.txt b/changelog-1.21.txt index e092b4f..9530003 100644 --- a/changelog-1.21.txt +++ b/changelog-1.21.txt @@ -1,2 +1 @@ -- Internal changes to how item properties are registered -- Allowed users to define items for other modded ziglin variants in datamaps \ No newline at end of file +- Fix tags being borked \ No newline at end of file diff --git a/src/main/java/tallestred/piglinproliferation/common/items/BucklerItem.java b/src/main/java/tallestred/piglinproliferation/common/items/BucklerItem.java index 5d9a0af..7a67746 100644 --- a/src/main/java/tallestred/piglinproliferation/common/items/BucklerItem.java +++ b/src/main/java/tallestred/piglinproliferation/common/items/BucklerItem.java @@ -204,6 +204,7 @@ public int getUseDuration(ItemStack pStack, LivingEntity entity) { } + @SuppressWarnings("deprecation") //In Minecraft, deprecated methods can be overridden but not called. @Override public int getEnchantmentValue() { return 1;