Skip to content

Commit 124fbe0

Browse files
committed
Made Omni-breaker enchantable with unbreaking
1 parent c861c64 commit 124fbe0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/net/neganote/gtutilities/common/item/OmniBreakerItem.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ public boolean isEnchantable(ItemStack stack) {
9999
return true;
100100
}
101101

102+
@Override
103+
public boolean isBookEnchantable(ItemStack stack, ItemStack book) {
104+
return super.isBookEnchantable(stack, book);
105+
}
106+
102107
@Override
103108
public void appendHoverText(@NotNull ItemStack stack, @Nullable Level level,
104109
@NotNull List<Component> tooltipComponents, @NotNull TooltipFlag isAdvanced) {

0 commit comments

Comments
 (0)