diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/crafting/SmithingTableListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/crafting/SmithingTableListener.java index 466c811a6..12f78007c 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/crafting/SmithingTableListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/crafting/SmithingTableListener.java @@ -27,7 +27,7 @@ public class SmithingTableListener implements SlimefunCraftingListener { @EventHandler(ignoreCancelled = true) public void onSmith(InventoryClickEvent e) { - if (e.getInventory().getType() == InventoryType.SMITHING && e.getRawSlot() == 2 && e.getWhoClicked() instanceof Player &&) { + if (e.getInventory().getType() == InventoryType.SMITHING && e.getRawSlot() == 2 && e.getWhoClicked() instanceof Player) { ItemStack itemStack = e.getInventory().getContents()[1]; if (isUnallowed(itemStack)) { diff --git a/src/main/resources/languages/en/messages.yml b/src/main/resources/languages/en/messages.yml index 6346ef367..290f8cde7 100644 --- a/src/main/resources/languages/en/messages.yml +++ b/src/main/resources/languages/en/messages.yml @@ -330,7 +330,7 @@ cartography_table: not-working: '&4You cannot use Slimefun items in a cartography table!' smithing_table: - not-working: '&4You cannot use a Slimefun item as a smithing material!' + not-working: '&4You cannot use a Slimefun item as a smithing material!' villagers: no-trading: '&4You cannot trade Slimefun items with Villagers!'