aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/mixins/MixinEntity.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/mixins/MixinEntity.java')
-rw-r--r--src/main/java/rosegoldaddons/mixins/MixinEntity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/rosegoldaddons/mixins/MixinEntity.java b/src/main/java/rosegoldaddons/mixins/MixinEntity.java
index 3319fc1..996f6c6 100644
--- a/src/main/java/rosegoldaddons/mixins/MixinEntity.java
+++ b/src/main/java/rosegoldaddons/mixins/MixinEntity.java
@@ -15,8 +15,8 @@ import java.util.Map;
public class MixinEntity {
@Inject(method = "getDisplayName", at = @At(value = "RETURN"), cancellable = true)
public void getFormattedText(CallbackInfoReturnable<IChatComponent> cir) {
- if(Main.pauseCustom || Main.configFile.nameRenderType == 0) return;
- if (Main.init && Main.configFile.alchsleep != 63 || Main.configFile.skiblock != 263) {
+ if(Main.configFile.nameRenderType == 0) return;
+ if (Main.init && Main.configFile.alchsleep != 88 || Main.configFile.skiblock != 263) {
IChatComponent ict = new ChatComponentText("");
ict.setChatStyle(cir.getReturnValue().getChatStyle());
String text = cir.getReturnValue().getFormattedText();