mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +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) {
|
while (true) {
|
||||||
player = game.getPlayer(super.getNext());
|
player = game.getPlayer(super.getNext());
|
||||||
if (!player.hasLeft() && !player.hasLost()) {
|
if (!player.hasLeft() && !player.hasLost()) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (!player.hasReachedNextTurnAfterLeaving()) {
|
if (!player.hasReachedNextTurnAfterLeaving()) {
|
||||||
player.setReachedNextTurnAfterLeaving(true);
|
player.setReachedNextTurnAfterLeaving(true);
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (player.getId().equals(start)) {
|
if (player.getId().equals(start)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue