From bc5396947eb02c9dfad5cc50b02a39d193bac8ec Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 2 Aug 2023 17:17:27 +0200 Subject: allowing /warp is command only inb skyblock --- src/main/java/at/hannibal2/skyhanni/features/commands/WarpIsCommand.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/at/hannibal2/skyhanni/features/commands') 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 -- cgit