From 1cc41bb255db6335554c83f5da0cc974a3918cf9 Mon Sep 17 00:00:00 2001 From: Stachelbeere1248 Date: Tue, 13 Feb 2024 22:09:21 +0100 Subject: [PATCH] practise server implementation --- .../zombiesutils/config/ZombiesUtilsConfig.java | 4 +++- .../com/github/stachelbeere1248/zombiesutils/timer/Timer.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/stachelbeere1248/zombiesutils/config/ZombiesUtilsConfig.java b/src/main/java/com/github/stachelbeere1248/zombiesutils/config/ZombiesUtilsConfig.java index 5d8a354..487a0a2 100644 --- a/src/main/java/com/github/stachelbeere1248/zombiesutils/config/ZombiesUtilsConfig.java +++ b/src/main/java/com/github/stachelbeere1248/zombiesutils/config/ZombiesUtilsConfig.java @@ -109,7 +109,9 @@ public class ZombiesUtilsConfig { } public static String getDefaultCategory() { - return defaultCategory.getString(); + String string = defaultCategory.getString(); + if (!ZombiesUtils.isHypixel()) string += "-practise"; + return string; } public static String getLanguage() { diff --git a/src/main/java/com/github/stachelbeere1248/zombiesutils/timer/Timer.java b/src/main/java/com/github/stachelbeere1248/zombiesutils/timer/Timer.java index 477d9be..0a40560 100644 --- a/src/main/java/com/github/stachelbeere1248/zombiesutils/timer/Timer.java +++ b/src/main/java/com/github/stachelbeere1248/zombiesutils/timer/Timer.java @@ -76,7 +76,7 @@ public class Timer { } try { - if (!ZombiesUtils.isHypixel()) record(passedRound, roundTime, gameTime); + record(passedRound, roundTime, gameTime); } catch (Exception e) { ZombiesUtils.getInstance().getLogger().error(ExceptionUtils.getStackTrace(e)); Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("Error saving splits"));