From d0cb987d0c44f70d1fe69d0ed2b8adf439a1f476 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 4 Apr 2021 15:01:21 -0500 Subject: [PATCH] Actually fix #11 --- pom.xml | 2 +- src/main/java/net/seanomik/energeticstorage/gui/ESDriveGUI.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 void onInventoryClick(InventoryClickEvent event) { event.setCancelled(false); List drives = esSystem.getESDrives(); - drives.add(slot - 2, new ESDrive(cursor)); + drives.add(new ESDrive(cursor)); esSystem.setESDrives(drives); } }