aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-02 17:17:27 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-02 17:17:27 +0200
commitbc5396947eb02c9dfad5cc50b02a39d193bac8ec (patch)
treed2cc79d7f5c7f2249fe243f566ae99365bf627e9 /src/main/java/at/hannibal2
parentdcd7d99b617cc9604eade940248b028b68268313 (diff)
downloadskyhanni-bc5396947eb02c9dfad5cc50b02a39d193bac8ec.tar.gz
skyhanni-bc5396947eb02c9dfad5cc50b02a39d193bac8ec.tar.bz2
skyhanni-bc5396947eb02c9dfad5cc50b02a39d193bac8ec.zip
allowing /warp is command only inb skyblock
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt1
1 files changed, 1 insertions, 0 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 d44459017..73e772b73 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt
@@ -10,6 +10,7 @@ class WarpIsCommand {
@SubscribeEvent
fun onSendPacket(event: PacketEvent.SendEvent) {
+ if (!LorenzUtils.inSkyBlock) return
if (!SkyHanniMod.feature.commands.replaceWarpIs) return
val packet = event.packet