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 { @@ -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

Loading…
Cancel
Save