diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-06 18:18:26 -0230 |
---|---|---|
committer | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-06 18:18:26 -0230 |
commit | 002dfdd18b908bda3e784dd303c15bbef79cdd2e (patch) | |
tree | 0c732879b7a851a4782205c2da5027944eb69acf /src/main/java/com/thatgravyboat/skyblockhud/api | |
parent | a4131a48e58cf55587d1ea1838e1ff2a5d692080 (diff) | |
download | SkyblockHud-Death-Defied-002dfdd18b908bda3e784dd303c15bbef79cdd2e.tar.gz SkyblockHud-Death-Defied-002dfdd18b908bda3e784dd303c15bbef79cdd2e.tar.bz2 SkyblockHud-Death-Defied-002dfdd18b908bda3e784dd303c15bbef79cdd2e.zip |
Switched SlayerHandler to use regex instead of .replace and .split
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/api')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java | 2 | ||||
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java b/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java index 58cede8..fbf68c9 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java @@ -25,8 +25,6 @@ public class LeaderboardGetter { private static int ticks = 0; - //This is really bad and should use the packet instead. - @SubscribeEvent public void onClientUpdate(TickEvent.ClientTickEvent event){ if (event.phase.equals(TickEvent.Phase.START)) return; diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java b/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java index 015388a..9402858 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/api/events/ProfileSwitchedEvent.java @@ -2,6 +2,4 @@ package com.thatgravyboat.skyblockhud.api.events; import net.minecraftforge.fml.common.eventhandler.Event; -public class ProfileSwitchedEvent extends Event { - -} +public class ProfileSwitchedEvent extends Event {} |