aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorakarahdev <endisticbutitsforgit@gmail.com>2024-01-23 16:30:18 -0500
committerakarahdev <endisticbutitsforgit@gmail.com>2024-01-23 16:30:18 -0500
commitb0c70044006f40542487209954d59349fe12e9e7 (patch)
treeadfc70d5db0f49dc4da591981c4acd56c0f573d7 /src/main
parent062e43220c96997e5877759203f36c77b74dcd5b (diff)
downloadSkyblocker-b0c70044006f40542487209954d59349fe12e9e7.tar.gz
Skyblocker-b0c70044006f40542487209954d59349fe12e9e7.tar.bz2
Skyblocker-b0c70044006f40542487209954d59349fe12e9e7.zip
add extra check
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java b/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java
index a831ddab..d0d58606 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java
@@ -2,6 +2,7 @@ package de.hysky.skyblocker.skyblock.entity;
import de.hysky.skyblocker.config.SkyblockerConfigManager;
import de.hysky.skyblocker.skyblock.dungeon.LividColor;
+import de.hysky.skyblocker.utils.SlayerUtils;
import de.hysky.skyblocker.utils.Utils;
import de.hysky.skyblocker.utils.render.culling.OcclusionCulling;
import net.minecraft.entity.Entity;
@@ -65,6 +66,7 @@ public class MobGlow {
// Enderman Slayer
// Highlights Nukekubi Heads
return SkyblockerConfigManager.get().slayer.endermanSlayer.highlightNukekubiHeads
+ && SlayerUtils.isInSlayer()
&& entity instanceof ArmorStandEntity armorStandEntity
&& isNukekubiHead(armorStandEntity);
}