From a783acb66ef107453262894a3c8a5a3f509e3b16 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 7 Dec 2013 16:33:00 +0100 Subject: [PATCH] * Darksteel Reactor - Fixed possible NPE. --- Mage.Sets/src/mage/sets/darksteel/DarksteelReactor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/darksteel/DarksteelReactor.java b/Mage.Sets/src/mage/sets/darksteel/DarksteelReactor.java index 0d692056d8..b1926fdc7f 100644 --- a/Mage.Sets/src/mage/sets/darksteel/DarksteelReactor.java +++ b/Mage.Sets/src/mage/sets/darksteel/DarksteelReactor.java @@ -89,8 +89,8 @@ class DarksteelReactorStateTriggeredAbility extends StateTriggeredAbility= 20){ + Permanent permanent = game.getPermanent(this.getSourceId()); + if(permanent != null && permanent.getCounters().getCount(CounterType.CHARGE) >= 20){ return true; } return false;