?
This commit is contained in:
@@ -47,7 +47,7 @@ public class Player extends Unit implements BuilderMinerTrait, ShooterTrait{
|
||||
|
||||
public float baseRotation;
|
||||
public float pointerX, pointerY;
|
||||
public String name = "name";
|
||||
public String name = "noname";
|
||||
public @Nullable String uuid, usid;
|
||||
public boolean isAdmin, isTransferring, isShooting, isBoosting, isMobile, isTyping;
|
||||
public float boostHeat, shootHeat, destructTime;
|
||||
|
||||
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user