mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-14 06:14:45 +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