This commit is contained in:
Pim van der Loos 2020-06-29 13:04:25 +02:00
parent 9ddc4f9f61
commit e3efdfd83b
No known key found for this signature in database
GPG Key ID: C16F020ADAE6D5A8

View File

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