mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 04:03:21 +08:00
Fix ability modifiers NullPointerException
This commit is contained in:
parent
6e5971df62
commit
46fee38217
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user