aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/mayaqq/ygasi/items
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/dev/mayaqq/ygasi/items')
-rw-r--r--src/main/java/dev/mayaqq/ygasi/items/SkillBookItem.java4
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