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