player manager fix
Some checks reported errors
studiorailgun/Renderer/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
studiorailgun/Renderer/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
5888e12da0
commit
1e444d81c3
@ -40,7 +40,11 @@ public class PlayerManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<Player> getPlayers(){
|
public List<Player> getPlayers(){
|
||||||
return new LinkedList<Player>(idMap.values());
|
List<Player> rVal = new LinkedList<Player>();
|
||||||
|
if(idMap != null && idMap.size() > 0){
|
||||||
|
rVal.addAll(idMap.values());
|
||||||
|
}
|
||||||
|
return rVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user