diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-16 08:06:54 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-16 08:06:54 +0100 |
commit | e8212f12c77e4d77002cd4ccadb8056c25ae6cb6 (patch) | |
tree | a32d499d8ccd0268e51ca4ac498de6a3201c7ca7 /src/main/java/at/hannibal2/skyhanni/features/commands | |
parent | 6207030868055a29c926ab97f5254b828e3e5dcd (diff) | |
download | skyhanni-e8212f12c77e4d77002cd4ccadb8056c25ae6cb6.tar.gz skyhanni-e8212f12c77e4d77002cd4ccadb8056c25ae6cb6.tar.bz2 skyhanni-e8212f12c77e4d77002cd4ccadb8056c25ae6cb6.zip |
Fixed /warp is command replace feature.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/commands')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt b/src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt index 183238762..09dad822c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.features.commands import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.events.MessageSendToServerEvent +import at.hannibal2.skyhanni.utils.ChatUtils import at.hannibal2.skyhanni.utils.LorenzUtils import net.minecraftforge.fml.common.eventhandler.SubscribeEvent @@ -14,7 +15,7 @@ class WarpIsCommand { if (event.message.lowercase() == "/warp is") { event.isCanceled = true - LorenzUtils.sendCommandToServer("/is") + ChatUtils.sendCommandToServer("is") } } } |