Also really quickly fixed the Invisibility in lobby bug (hopefully)

This commit is contained in:
Morten 2015-12-23 00:39:16 +01:00
parent 8c399f03da
commit f83016e007

View File

@ -70,13 +70,14 @@ public class HubVisibilityManager extends MiniPlugin
for (Player other : UtilServer.getPlayers())
{
boolean localHideMe = hideMe;
if (player.equals(other))
continue;
if(Manager.GetClients().Get(other).GetRank().has(Rank.MODERATOR))
hideMe = false;
localHideMe = false;
if (hideMe ||
if (localHideMe ||
!Manager.getPreferences().Get(other).ShowPlayers ||
Manager.GetTutorial().InTutorial(other))
{