From 9a6a131bbf6255d9460865f307d70603e44cc461 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 20:50:45 -0400 Subject: [PATCH] PowerActionEntry parsing work. --- src/engine/wpak/PowerActionParser.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 36dd4571..c16cc274 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -10,7 +10,6 @@ package engine.wpak; import engine.gameManager.ConfigManager; import engine.wpak.data.PowerActionEntry; -import engine.wpak.data.PowerEntry; import java.io.IOException; import java.nio.file.Files; @@ -44,12 +43,12 @@ public class PowerActionParser { while (matcher.find()) { - PowerEntry powerEntry = parsePowerActionEntry(matcher.group().trim()); + PowerActionEntry powerActionEntry = parsePowerActionEntry(matcher.group().trim()); } } - private static PowerActionEntry parsePowerEntry(String powerData) { + private static PowerActionEntry parsePowerActionEntry(String powerActionData) { PowerActionEntry powerActionEntry = new PowerActionEntry();