mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-23 07:51:21 +01:00
Fix NPE with certain modules, fixes #785
This commit is contained in:
parent
7b973dae2b
commit
2e94a0f63d
@ -179,9 +179,12 @@ public abstract class CustomObjective implements Listener {
|
||||
for (Entry<String, Object> e : currentStage.customObjectiveData) {
|
||||
if (e.getKey().equals(datamap.getKey())) {
|
||||
m.put(e.getKey(), e.getValue());
|
||||
return m;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (m != null && !m.isEmpty()) {
|
||||
return m;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user