Skip to content

Commit

Permalink
fix: only hammer should allow custom lore
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Jan 13, 2024
1 parent c5ae429 commit c309d37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static void registerItemModelProperties() {
* Applies a unique lore entry in the Book of Lore for the Hammer of Jeb Easter Egg item texture.
*/
public static void registerLoreOverrides() {
LoreBookMenu.addLoreEntryOverride(stack -> stack.getHoverName().getString().equalsIgnoreCase("hammer of jeb"), "lore.item.aether.hammer_of_jeb");
LoreBookMenu.addLoreEntryOverride(stack -> stack.is(AetherItems.HAMMER_OF_KINGBDOGZ.get()) && stack.getHoverName().getString().equalsIgnoreCase("hammer of jeb"), "lore.item.aether.hammer_of_jeb");
}

/**
Expand Down

0 comments on commit c309d37

Please sign in to comment.