mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Merge branch 'modifying' into 'master'
orderCardsByTheirOwners: Fix modifying original collection See merge request core-developers/forge!5720
This commit is contained in:
@@ -733,7 +733,7 @@ public final class GameActionUtil {
|
|||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
CardCollection completeList = new CardCollection();
|
CardCollection completeList = new CardCollection();
|
||||||
PlayerCollection players = game.getPlayers();
|
PlayerCollection players = new PlayerCollection(game.getPlayers());
|
||||||
// CR 613.7k use APNAP
|
// CR 613.7k use APNAP
|
||||||
int indexAP = players.indexOf(game.getPhaseHandler().getPlayerTurn());
|
int indexAP = players.indexOf(game.getPhaseHandler().getPlayerTurn());
|
||||||
if (indexAP != -1) {
|
if (indexAP != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user