mirror of
https://github.com/correl/mage.git
synced 2024-11-22 03:00:11 +00:00
...
This commit is contained in:
parent
8c01687bc2
commit
49dcef3a85
1 changed files with 5 additions and 3 deletions
|
@ -343,9 +343,11 @@ public class HumanPlayer extends PlayerImpl {
|
|||
}
|
||||
else {
|
||||
game.fireGetChoiceEvent(playerId, name, abilities.values());
|
||||
waitForUUIDResponse();
|
||||
if (abilities.containsKey(response.getUUID()))
|
||||
activateAbility(abilities.get(response.getUUID()), game);
|
||||
waitForResponse();
|
||||
if (response.getUUID() != null) {
|
||||
if (abilities.containsKey(response.getUUID()))
|
||||
activateAbility(abilities.get(response.getUUID()), game);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue