mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-25 06:24:27 +00:00
Fixed players shown offline by pushing a proper status
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user