From a26cac31fd82d61c366600d2f0b9ca301032d052 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 16 Jun 2023 01:55:44 +0200 Subject: Slayer show item name on ground no longer works when no slayer quest is enabled (useful when you want to trophy fish inside the stronghold) --- .../java/at/hannibal2/skyhanni/features/slayer/SlayerItemsOnGround.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemsOnGround.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemsOnGround.kt index 64b5e9fce..10e64ebd8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemsOnGround.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemsOnGround.kt @@ -29,6 +29,7 @@ class SlayerItemsOnGround { if (!LorenzUtils.inSkyBlock) return if (!config.enabled) return if (!SlayerAPI.isInSlayerArea) return + if (!SlayerAPI.hasActiveSlayerQuest()) return for (entityItem in Minecraft.getMinecraft().theWorld.loadedEntityList.filterIsInstance()) { val location = event.exactLocation(entityItem).add(0.0, 0.8, 0.0) -- cgit