From 8ae7d865f07f5ad090cf7c36a4a6808c6dd42e28 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Fri, 9 Jun 2023 00:42:41 +1000 Subject: New commands in storage overlay (#715) --- .../moulberry/notenoughupdates/miscfeatures/StorageManager.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/main/java/io') 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"); + } } } -- cgit