diff options
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/util/MooChatComponent.java | 4 |
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; } |