aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'mod/src/main')
-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());