diff options
author | Maximusbarcz <maxim.baranek@gmail.com> | 2023-01-07 19:36:26 +0100 |
---|---|---|
committer | Maximusbarcz <maxim.baranek@gmail.com> | 2023-01-07 19:36:26 +0100 |
commit | 86b6bcf1d1406b5a3517d9b2351e3792054a6163 (patch) | |
tree | 5ac798ead82eea78a697b8b6dd1f600e1ba6fb31 /src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java | |
parent | 255cbe744535466951b8f1699202763520f1fc95 (diff) | |
download | ygasi-86b6bcf1d1406b5a3517d9b2351e3792054a6163.tar.gz ygasi-86b6bcf1d1406b5a3517d9b2351e3792054a6163.tar.bz2 ygasi-86b6bcf1d1406b5a3517d9b2351e3792054a6163.zip |
Added some more translations and also a Config GUI you can access by doing /ygasi config in game
Diffstat (limited to 'src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java')
-rw-r--r-- | src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java b/src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java index c96de2a..52f2c8d 100644 --- a/src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java +++ b/src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java @@ -27,9 +27,7 @@ public class SkillBookItem extends SimplePolymerItem { @Override public ItemStack getPolymerItemStack(ItemStack itemStack, ServerPlayerEntity player) { - ItemStack out = PolymerItemUtils.createItemStack(itemStack, player); - out.addEnchantment(Enchantments.LURE, 0); - return out; + return PolymerItemUtils.createItemStack(itemStack, player); } @Override |