aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-06 00:33:39 +0900
committersyeyoung <cyoung06@naver.com>2023-02-06 00:33:39 +0900
commit15e07dbf499dd48e2188dd5514962d06c723be2b (patch)
treed30cbf21accbe4dec028f838ffab8472dc6b5f05 /mod
parent39a8006a7161dab6d470282550dc98b99b21f555 (diff)
downloadSkyblock-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')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java1
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/etc/FeaturePenguins.java4
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());