From 3951114eb73370182b4b1e5919e6cab0e616f5fd Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 8 Aug 2024 13:14:21 -0400 Subject: [PATCH] Some entries have no icon --- src/engine/ConfigParsing/EffectsParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index a488eee1..39e7eeac 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -58,6 +58,7 @@ public class EffectsParser { // Some effects exist without sources/mods or conditions // (ACID "MOB" 0) + if (effectData.indexOf('\n') > 0) firstLine = effectData.substring(0, effectData.indexOf('\n')); else