mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +01:00
Fix DungeonSign NPE
This commit is contained in:
parent
ce7790f341
commit
e46fb89349
@ -164,6 +164,9 @@ public class DGameWorld extends DInstanceWorld implements GameWorld {
|
||||
@Override
|
||||
public DungeonSign createDungeonSign(Sign sign, String[] lines) {
|
||||
DungeonSign dSign = super.createDungeonSign(sign, lines);
|
||||
if (dSign == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
String[] triggerTypes = lines[3].replaceAll("\\s", "").split(",");
|
||||
for (String triggerString : triggerTypes) {
|
||||
|
Loading…
Reference in New Issue
Block a user