diff --git a/pom.xml b/pom.xml index fff89d4..a8b34f5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.seanomik energeticstorage - 0.6.0-SNAPSHOT + 0.6.1-SNAPSHOT jar EnergeticStorage diff --git a/src/main/java/net/seanomik/energeticstorage/gui/ESDriveGUI.java b/src/main/java/net/seanomik/energeticstorage/gui/ESDriveGUI.java index 9cd4061..55c0c7f 100644 --- a/src/main/java/net/seanomik/energeticstorage/gui/ESDriveGUI.java +++ b/src/main/java/net/seanomik/energeticstorage/gui/ESDriveGUI.java @@ -213,7 +213,7 @@ public class ESDriveGUI implements InventoryHolder, Listener { event.setCancelled(false); List drives = esSystem.getESDrives(); - drives.add(slot - 2, new ESDrive(cursor)); + drives.add(new ESDrive(cursor)); esSystem.setESDrives(drives); } }