mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 03:42:53 +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() {
|
private void initializeModifiers() {
|
||||||
if (modifiers == null) return;
|
if (modifiers == null) {
|
||||||
|
this.modifiers = new HashMap<>();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var _modifiers =
|
var _modifiers =
|
||||||
modifiers.entrySet().stream()
|
modifiers.entrySet().stream()
|
||||||
|
Loading…
Reference in New Issue
Block a user