From 4d704d3ab0c8026132086b3404795b679afaf3fa Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 16 Aug 2024 13:09:22 -0400 Subject: [PATCH] Variables mirror executable --- src/engine/wpak/PowerEntry.java | 2 +- src/engine/wpak/PowersParser.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/wpak/PowerEntry.java b/src/engine/wpak/PowerEntry.java index 3af486fe..bddef277 100644 --- a/src/engine/wpak/PowerEntry.java +++ b/src/engine/wpak/PowerEntry.java @@ -11,7 +11,7 @@ package engine.wpak; public class PowerEntry { public String power_id; - public String power_name; + public String power; public String power_type; public int icon; public String powerbase; diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index b96e87ec..d5eae667 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -67,7 +67,7 @@ public class PowersParser { if (powerHeader.size() != 21) Logger.error(powerEntry.power_id); - powerEntry.power_name = powerHeader.get(1).replaceAll("\"", ""); + powerEntry.power = powerHeader.get(1).replaceAll("\"", ""); powerEntry.power_type = powerHeader.get(2); powerEntry.icon = Integer.parseInt(powerHeader.get(3)); powerEntry.powerbase = powerHeader.get(4).replaceAll("\"", "");