aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2023-07-16 13:12:29 +0200
committerCow <cow@volloeko.de>2023-07-16 13:12:29 +0200
commit927da68630bb651dd39294cd88e79557fae6bfc6 (patch)
tree761a54115e80fffb691342363d10ede9d189befe /src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java
parent24c9e641a1dc0c109d94504ef707a10171b837c4 (diff)
downloadCowlection-927da68630bb651dd39294cd88e79557fae6bfc6.tar.gz
Cowlection-927da68630bb651dd39294cd88e79557fae6bfc6.tar.bz2
Cowlection-927da68630bb651dd39294cd88e79557fae6bfc6.zip
Changed dungeons overlay to be disabled by default
Other mods track and display the info much more accurately.
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java')
-rw-r--r--src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java b/src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java
index 5500345..56b57fe 100644
--- a/src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java
+++ b/src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java
@@ -164,7 +164,9 @@ public class MooChatComponent extends ChatComponentText {
@Override
public MooChatComponent appendSibling(IChatComponent component) {
- super.appendSibling(component);
+ if (component != null) {
+ super.appendSibling(component);
+ }
return this;
}