From 93a4acb108bf5d1a34260472c88bad34fbe3ff31 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 20:38:38 -0400 Subject: [PATCH] init moved to configmanager. --- src/engine/wpak/PowersParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 630d4992..7935d7df 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -32,7 +32,8 @@ public class PowersParser { // Read .wpak file from disk - byte[] fileData = null; + byte[] fileData; + try { fileData = Files.readAllBytes(Paths.get(powersPath)); } catch (IOException e) {