Fixed in controlling the turn. Mindslaver works now.

This commit is contained in:
magenoxx 2011-08-05 16:49:13 +04:00
parent 98d99d01c6
commit b562f57a5c
7 changed files with 99 additions and 149 deletions

View file

@ -14,7 +14,7 @@ public class Splitter {
public static List<UUID> split(Game game, UUID playerId) {
List<UUID> players = new ArrayList<UUID>();
players.add(playerId); // add original player
//players.add(playerId); // add original player
Player player = game.getPlayer(playerId);
if (player != null && player.getTurnControlledBy() != null) {
players.add(player.getTurnControlledBy());