mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Detained - Fixed the bug that detain effect ended a turn earlier as intended.
This commit is contained in:
parent
33901e8b3d
commit
46c76329db
1 changed files with 3 additions and 3 deletions
|
@ -50,11 +50,11 @@ public class PlayerList extends CircularList<UUID> {
|
|||
while (true) {
|
||||
player = game.getPlayer(super.getNext());
|
||||
if (!player.hasLeft() && !player.hasLost()) {
|
||||
if (!player.hasReachedNextTurnAfterLeaving()) {
|
||||
player.setReachedNextTurnAfterLeaving(true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (!player.hasReachedNextTurnAfterLeaving()) {
|
||||
player.setReachedNextTurnAfterLeaving(true);
|
||||
}
|
||||
if (player.getId().equals(start)) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue