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