aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features/ColouredNames.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-05-11 19:18:07 -0400
committerbowser0000 <bowser0000@gmail.com>2022-05-11 19:18:07 -0400
commitb0954c47d499b922ca006a18a4331c8e1ae366b5 (patch)
treea4e7c44307f0135ed6daf2d2621f37c35f948348 /src/main/java/me/Danker/features/ColouredNames.java
parent5a706f3f139c795ba6b848db4d18c55490dc1788 (diff)
downloadSkyblockMod-b0954c47d499b922ca006a18a4331c8e1ae366b5.tar.gz
SkyblockMod-b0954c47d499b922ca006a18a4331c8e1ae366b5.tar.bz2
SkyblockMod-b0954c47d499b922ca006a18a4331c8e1ae366b5.zip
Add option to disable custom colours on nametags
Diffstat (limited to 'src/main/java/me/Danker/features/ColouredNames.java')
-rw-r--r--src/main/java/me/Danker/features/ColouredNames.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/ColouredNames.java b/src/main/java/me/Danker/features/ColouredNames.java
index 90d722e..9f7890c 100644
--- a/src/main/java/me/Danker/features/ColouredNames.java
+++ b/src/main/java/me/Danker/features/ColouredNames.java
@@ -72,7 +72,7 @@ public class ColouredNames {
@SubscribeEvent(priority = EventPriority.LOW)
public void onRenderLiving(RenderLivingEvent.Specials.Pre<EntityLivingBase> event) {
- if (!ToggleCommand.customColouredNames || !Utils.inSkyblock) return;
+ if (!ToggleCommand.customColouredNames || !ToggleCommand.customNametags || !Utils.inSkyblock) return;
Entity entity = event.entity;
if (entity instanceof EntityArmorStand && !entity.isDead && entity.hasCustomName()) {