mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fixed NPE that was thrown when choosing player while paying mana abilities
This commit is contained in:
parent
553f3f3777
commit
430802d248
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue