diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-02 17:17:27 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-02 17:17:27 +0200 |
commit | bc5396947eb02c9dfad5cc50b02a39d193bac8ec (patch) | |
tree | d2cc79d7f5c7f2249fe243f566ae99365bf627e9 /src/main/java/at/hannibal2/skyhanni/features/commands | |
parent | dcd7d99b617cc9604eade940248b028b68268313 (diff) | |
download | skyhanni-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/skyhanni/features/commands')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt | 1 |
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 |