mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 21:51:19 -04:00
Change Player to entities to reflect older change
^
This commit is contained in:
parent
bff5d0fe10
commit
7872667f14
@ -53,7 +53,7 @@ namespace MCGalaxy.Commands
|
||||
|
||||
if (p.hidden)
|
||||
{
|
||||
Player.GlobalDespawn(p, true);
|
||||
Entities.GlobalDespawn(p, true);
|
||||
if (messageOps && !p.otherRankHidden)
|
||||
Chat.GlobalMessageOps("To Ops -" + p.color + p.DisplayName + "%S- is now &finvisible%S.");
|
||||
string discMsg = PlayerDB.GetLogoutMessage(p);
|
||||
@ -63,7 +63,7 @@ namespace MCGalaxy.Commands
|
||||
}
|
||||
else
|
||||
{
|
||||
Player.GlobalSpawn(p, false);
|
||||
Entities.GlobalSpawn(p, false);
|
||||
p.hidden = false;
|
||||
p.otherRankHidden = false;
|
||||
if(messageOps)
|
||||
|
Loading…
x
Reference in New Issue
Block a user