diff options
author | syeyoung <cyoung06@naver.com> | 2023-02-06 00:33:39 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-02-06 00:33:39 +0900 |
commit | 15e07dbf499dd48e2188dd5514962d06c723be2b (patch) | |
tree | d30cbf21accbe4dec028f838ffab8472dc6b5f05 /mod/src/main/java | |
parent | 39a8006a7161dab6d470282550dc98b99b21f555 (diff) | |
download | Skyblock-Dungeons-Guide-15e07dbf499dd48e2188dd5514962d06c723be2b.tar.gz Skyblock-Dungeons-Guide-15e07dbf499dd48e2188dd5514962d06c723be2b.tar.bz2 Skyblock-Dungeons-Guide-15e07dbf499dd48e2188dd5514962d06c723be2b.zip |
- Fix penguins
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/java')
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java | 1 | ||||
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/etc/FeaturePenguins.java | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java index e2bec187..1dae8679 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java @@ -389,7 +389,6 @@ public class CosmeticsManager { } } - if (color != null) nameFormat.displayname = color.getData().replace("&","ยง")+nameFormat.username; diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/etc/FeaturePenguins.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/etc/FeaturePenguins.java index 3e4bc78c..4f2fcfb0 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/etc/FeaturePenguins.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/etc/FeaturePenguins.java @@ -53,7 +53,7 @@ public class FeaturePenguins extends SimpleFeature { OBJLoader.instance.addDomain("dungeonsguide"); } - @DGEventHandler + @DGEventHandler(triggerOutOfSkyblock = true, ignoreDisabled = true) public void onTextureStitch(TextureStitchEvent.Pre event) { if (event instanceof TextureStitchEvent.Pre) { objModel = null; @@ -70,7 +70,7 @@ public class FeaturePenguins extends SimpleFeature { } } } - @DGEventHandler + @DGEventHandler(triggerOutOfSkyblock = true, ignoreDisabled = true) public void onTextureStitchPost(TextureStitchEvent.Post event) { if (objModel != null && event instanceof TextureStitchEvent.Post) { model = objModel.bake(objModel.getDefaultState(), DefaultVertexFormats.ITEM, ModelLoader.defaultTextureGetter()); |