Browse Source

Some entries have no icon

feature-config-parsing2
MagicBot 5 months ago
parent
commit
3951114eb7
  1. 1
      src/engine/ConfigParsing/EffectsParser.java

1
src/engine/ConfigParsing/EffectsParser.java

@ -58,6 +58,7 @@ public class EffectsParser {
// Some effects exist without sources/mods or conditions // Some effects exist without sources/mods or conditions
// (ACID "MOB" 0) // (ACID "MOB" 0)
if (effectData.indexOf('\n') > 0) if (effectData.indexOf('\n') > 0)
firstLine = effectData.substring(0, effectData.indexOf('\n')); firstLine = effectData.substring(0, effectData.indexOf('\n'));
else else

Loading…
Cancel
Save