mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-28 07:55:49 +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));
|
||||
}
|
||||
|
||||
|
||||
@@ -4,5 +4,6 @@ public enum PlayerEv {
|
||||
LOGOUT,
|
||||
LOGIN,
|
||||
DEATH,
|
||||
ONLINE,
|
||||
NONE;
|
||||
}
|
||||
Reference in new issue
Block a user