Change Player to entities to reflect older change

^
This commit is contained in:
Peteys93 2016-04-26 03:48:31 -04:00
parent bff5d0fe10
commit 7872667f14

View File

@ -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)