From e3efdfd83b2758bca5ec51718cdb14659962da0a Mon Sep 17 00:00:00 2001 From: Pim van der Loos Date: Mon, 29 Jun 2020 13:04:25 +0200 Subject: [PATCH] Clean up --- .../nl/pim16aap2/armoredElytra/handlers/EventHandlers.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/nl/pim16aap2/armoredElytra/handlers/EventHandlers.java b/src/main/java/nl/pim16aap2/armoredElytra/handlers/EventHandlers.java index 03ca08b..2134c67 100644 --- a/src/main/java/nl/pim16aap2/armoredElytra/handlers/EventHandlers.java +++ b/src/main/java/nl/pim16aap2/armoredElytra/handlers/EventHandlers.java @@ -296,11 +296,6 @@ public class EventHandlers implements Listener ItemStack itemB = event.getInventory().getItem(1); ItemStack result = null; -// if (itemA != null && itemB == null) -// { -// -// } - if (itemA != null && itemB != null) // If itemB is the elytra, while itemA isn't, switch itemA and itemB. if (itemB.getType() == Material.ELYTRA && itemA.getType() != Material.ELYTRA)