Fix ability modifiers NullPointerException

This commit is contained in:
KingRainbow44 2023-06-01 03:30:00 -04:00
parent 6e5971df62
commit 46fee38217
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -87,7 +87,10 @@ public class AbilityData {
}
private void initializeModifiers() {
if (modifiers == null) return;
if (modifiers == null) {
this.modifiers = new HashMap<>();
return;
}
var _modifiers =
modifiers.entrySet().stream()