More PowerEntry parsing work.

This commit is contained in:
MagicBot committed 2024-08-19 08:10:13 -04:00
1 parent 12f8139d1e
commit a863902370
2 files changed
+5

No files matched your search

+3
View File
@@ -261,6 +261,9 @@ public class PowersParser {
case "MAXNUMPLAYERTARGETS":
powerEntry.maxPlayerTargets = Integer.parseInt(lineValues[1].trim());
break;
case "ISADMINPOWER":
powerEntry.isAdminPower = Boolean.parseBoolean(lineValues[1].trim());
break;
default:
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id);
}