1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00

Don't reset guide history when using cheat mode

This commit is contained in:
SoSeDiK 2019-03-27 22:38:53 +02:00
parent 7a0a98bb6d
commit eeb51fde41

View File

@ -349,7 +349,8 @@ public class SlimefunGuide {
} }
public static void openMainMenu(final Player p, final boolean survival, final boolean book, final int selected_page) { public static void openMainMenu(final Player p, final boolean survival, final boolean book, final int selected_page) {
clearHistory(p.getUniqueId()); if (survival)
clearHistory(p.getUniqueId());
if (book) { if (book) {
List<TellRawMessage> pages = new ArrayList<TellRawMessage>(); List<TellRawMessage> pages = new ArrayList<TellRawMessage>();