mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
[STX] fixed a null pointer exemption with Radiant Scrollwielder (fixes #7777, fixes #7778, fixes #7779)
This commit is contained in:
parent
141e7a251f
commit
050db19e40
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue