aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java
index 22dd8a15..25d0588b 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java
@@ -488,11 +488,14 @@ public class StorageManager {
}
}
}
-
storageOpenSwitchMillis = System.currentTimeMillis();
- desiredStoragePage = page;
- NotEnoughUpdates.INSTANCE.sendChatMessage("/storage " + (desiredStoragePage - 8));
+ if (page < 9) {
+ NotEnoughUpdates.INSTANCE.sendChatMessage("/enderchest " + (page + 1));
+ } else {
+ desiredStoragePage = page;
+ NotEnoughUpdates.INSTANCE.sendChatMessage("/storage");
+ }
}
}