diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-16 01:55:44 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-16 01:55:44 +0200 |
commit | a26cac31fd82d61c366600d2f0b9ca301032d052 (patch) | |
tree | 9c92870ed2fc3028c45ffdaa3244184ba1dff359 /src/main/java/at/hannibal2 | |
parent | 2a6833888160dc4441f08bf42563f506aeedf99d (diff) | |
download | skyhanni-a26cac31fd82d61c366600d2f0b9ca301032d052.tar.gz skyhanni-a26cac31fd82d61c366600d2f0b9ca301032d052.tar.bz2 skyhanni-a26cac31fd82d61c366600d2f0b9ca301032d052.zip |
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)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemsOnGround.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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<EntityItem>()) { val location = event.exactLocation(entityItem).add(0.0, 0.8, 0.0) |