[STX] fixed a null pointer exemption with Radiant Scrollwielder (fixes #7777, fixes #7778, fixes #7779)

This commit is contained in:
Evan Kranzler 2021-04-26 20:35:38 -04:00
parent 141e7a251f
commit 050db19e40

View file

@ -164,7 +164,7 @@ class RadiantScrollwielderWatcher extends Watcher {
@Override @Override
public void watch(GameEvent event, Game game) { public void watch(GameEvent event, Game game) {
if (event.getType() != GameEvent.EventType.SPELL_CAST) { if (event.getType() != GameEvent.EventType.SPELL_CAST || event.getAdditionalReference() == null) {
return; return;
} }
morMap.put( morMap.put(