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:
parent
20beabcc3b
commit
153f33a72b
@ -27,7 +27,7 @@ public class SmithingTableListener implements SlimefunCraftingListener {
|
|||||||
|
|
||||||
@EventHandler(ignoreCancelled = true)
|
@EventHandler(ignoreCancelled = true)
|
||||||
public void onSmith(InventoryClickEvent e) {
|
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];
|
ItemStack itemStack = e.getInventory().getContents()[1];
|
||||||
|
|
||||||
if (isUnallowed(itemStack)) {
|
if (isUnallowed(itemStack)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user