player manager fix
Some checks reported errors
studiorailgun/Renderer/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
austin 2025-05-15 13:36:01 -04:00
parent 5888e12da0
commit 1e444d81c3

View File

@ -40,7 +40,11 @@ public class PlayerManager {
}
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;
}
/**