Skip to content

Commit

Permalink
fix #633: gilded book can be used in the Enchanting Table, but gets n…
Browse files Browse the repository at this point in the history
…o enchants
  • Loading branch information
DaFuqs committed Jan 14, 2025
1 parent e9b071e commit 2100ee0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ public GildedBookItem(Settings settings) {
super(settings);
}

@Override
public boolean isEnchantable(ItemStack stack) {
return false;
}

@Override
public int getEnchantability() {
return Items.GOLDEN_PICKAXE.getEnchantability();
Expand Down

0 comments on commit 2100ee0

Please sign in to comment.