You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous way of calculating the player count apparently didn't work. Now when the player leaves the server, they're removed from the local cache. This is then used to get the player count.
closes#5
varhtml='<div class="row info-body-row"><strong>Position:</strong> X {'+plr.pos.x.toFixed(4)+"} Y {"+plr.pos.y.toFixed(4)+"} Z {"+plr.pos.z.toFixed(4)+"}</div>"
119
+
varhtml='<div class="row info-body-row"><strong>Position:</strong> X {'+plr.pos.x.toFixed(4)+"} Y {"+plr.pos.y.toFixed(4)+"} Z {"+plr.pos.z.toFixed(4)+"}</div>";
118
120
for(varkeyinplr){
119
121
//console.log("found key: "+ key);
120
122
if(key=="name"||key=="pos"||key=="icon"){// I should probably turn this into a array or something
@@ -133,9 +135,9 @@ function getPlayerInfoHtml(plr){
0 commit comments