From b81b83570a06e485466ef4f3d0448acdd741b102 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 8 Aug 2024 13:11:10 -0400 Subject: [PATCH] Some entries have no icon --- src/engine/ConfigParsing/EffectsParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 2dc8d771..1dda51e3 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -77,7 +77,8 @@ public class EffectsParser { try { effectEntry.icon = Integer.parseInt(effectDescription.get(2)); } catch (Exception e) { - Logger.error(e); + effectEntry.icon = 0; + Logger.error(effectData); } // Parse source entries