From d2349625c084a5a8f3368addd7a0d06ee9921cc4 Mon Sep 17 00:00:00 2001 From: ev chang Date: Thu, 9 May 2024 13:19:07 -0400 Subject: [PATCH] bump version --- gradle.properties | 2 +- .../mixin/levelhead/AboveHeadRenderMixin.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gradle.properties b/gradle.properties index 4fe8b6e..030a42f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ mod_name=PolyNametag # Sets the id of your mod that mod loaders use to recognize it. mod_id=polynametag # Sets the version of your mod. Make sure to update this when you make changes according to semver. -mod_version=1.0.1 +mod_version=1.0.2 # Sets the name of the jar file that you put in your 'mods' folder. mod_archives_name=PolyNametag diff --git a/src/main/java/org/polyfrost/polynametag/mixin/levelhead/AboveHeadRenderMixin.java b/src/main/java/org/polyfrost/polynametag/mixin/levelhead/AboveHeadRenderMixin.java index c146df9..571eeab 100644 --- a/src/main/java/org/polyfrost/polynametag/mixin/levelhead/AboveHeadRenderMixin.java +++ b/src/main/java/org/polyfrost/polynametag/mixin/levelhead/AboveHeadRenderMixin.java @@ -31,11 +31,11 @@ private void move(LevelheadTag tag, EntityPlayer entityIn, double x, double y, d PolyNametag.INSTANCE.setDrawEssential(false); } - @Dynamic("LevelHead") - @ModifyVariable(method = "renderName", at = @At("STORE"), name = "xMultiplier") - private int stupid(int value) { - return PolyNametag.INSTANCE.isPatcher() ? 1 : value; - } + //@Dynamic("LevelHead") + //@ModifyVariable(method = "renderName", at = @At("STORE"), name = "xMultiplier") + //private int stupid(int value) { + // return PolyNametag.INSTANCE.isPatcher() ? 1 : value; + //} @Dynamic("LevelHead") @Redirect(