Fixed players shown offline by pushing a proper status

This commit is contained in:
ProfMobius committed 2014-12-10 01:01:30 +01:00
1 parent 74956ec161
commit 573c422001
2 files changed
+2 -1

No files matched your search

@@ -270,7 +270,7 @@ public enum EntityManager {
for (Object o : players){
//outList.add(new DataEntity().fill((EntityPlayer) p));
EntityPlayer p = (EntityPlayer) o;
outList.add(new PlayerStatus(p.getGameProfile().getName(), PlayerEv.NONE,
outList.add(new PlayerStatus(p.getGameProfile().getName(), PlayerEv.ONLINE,
p.worldObj.provider.dimensionId, (int)p.posX, (int)p.posY, (int)p.posZ));
}