This commit is contained in:
Anuken
2019-09-25 16:14:46 -04:00
parent 8ec465319b
commit 289ab44ed5
2 changed files with 4 additions and 2 deletions

View File

@@ -814,9 +814,11 @@ public class ServerControl implements ApplicationListener{
logic.play();
state.rules = world.getMap().applyRules(lastMode);
Log.info("Player array: " + players);
for(Player p : players){
Log.info("Iterate: " + p.name);
Log.info("Iterate thorugh: " + p);
p.reset();
if(state.rules.pvp){
p.setTeam(netServer.assignTeam(p, new ArrayIterable<>(players)));