Fixed NPE that was thrown when choosing player while paying mana abilities

This commit is contained in:
magenoxx 2011-05-10 17:24:37 +04:00
parent 553f3f3777
commit 430802d248

View file

@ -371,6 +371,7 @@ public class HumanPlayer extends PlayerImpl<HumanPlayer> {
protected void playManaAbilities(Game game) {
MageObject object = game.getObject(response.getUUID());
if (object == null) return;
Map<UUID, ActivatedAbility> useableAbilities;
switch (game.getZone(object.getId())) {
case HAND: