1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Message indentation and remove random &&

This commit is contained in:
Sefiraat 2021-09-13 14:36:17 +01:00
parent 20beabcc3b
commit 153f33a72b
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {