mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-12 13:24:36 +01:00
Fix null pointer in MazeSkill
This commit is contained in:
@@ -41,7 +41,7 @@ public class MazeSkill {
|
||||
}
|
||||
|
||||
public boolean hasAdventureModifier(String modifier) {
|
||||
return adventureModifiers.contains(modifier);
|
||||
return this.adventureModifiers != null && this.adventureModifiers.contains(modifier);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user