mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[KHM] fixed a null pointer exception with Valkmira, Protector's Shield
This commit is contained in:
parent
0de71e0348
commit
22b07608b0
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class ValkmiraProtectorsShieldPreventionEffect extends PreventionEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if (!game.getOpponents(event.getSourceId()).contains(source.getControllerId())) {
|
||||
if (!game.getOpponents(game.getControllerId(event.getSourceId())).contains(source.getControllerId())) {
|
||||
return false;
|
||||
}
|
||||
switch (event.getType()) {
|
||||
|
|
Loading…
Reference in a new issue