aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/handlers/EventHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/torui/coflsky/handlers/EventHandler.java')
-rw-r--r--src/main/java/de/torui/coflsky/handlers/EventHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/torui/coflsky/handlers/EventHandler.java b/src/main/java/de/torui/coflsky/handlers/EventHandler.java
index 59db467..0fd51f8 100644
--- a/src/main/java/de/torui/coflsky/handlers/EventHandler.java
+++ b/src/main/java/de/torui/coflsky/handlers/EventHandler.java
@@ -53,7 +53,7 @@ public class EventHandler {
ScoreObjective objective = scoreboard.getObjectiveInDisplaySlot(1);
s = EnumChatFormatting.getTextWithoutFormattingCodes(objective.getDisplayName());
} catch (Exception e) {
- s = "";
+ return;
}
checkIfInSkyblock(s);
if (isInSkyblock && CoflSky.Wrapper.isRunning) {