No youtuber Disguise.
This commit is contained in:
parent
b52a9477fe
commit
208ce95c97
@ -145,7 +145,7 @@ public class DisguiseCommand extends CommandBase<HubManager> implements Listener
|
|||||||
Plugin.GetClients().LoadClient(other, uuid, caller.getAddress().getAddress().getAddress().toString());
|
Plugin.GetClients().LoadClient(other, uuid, caller.getAddress().getAddress().getAddress().toString());
|
||||||
|
|
||||||
Rank otherRank = other.GetRank();
|
Rank otherRank = other.GetRank();
|
||||||
if(otherRank.Has(Rank.HELPER))
|
if(otherRank.Has(Rank.TWITCH))
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, C.cRed + C.Bold + "You can't disguise as staff!");
|
UtilPlayer.message(caller, C.cRed + C.Bold + "You can't disguise as staff!");
|
||||||
_disguisedPlayers.remove(caller);
|
_disguisedPlayers.remove(caller);
|
||||||
|
@ -141,7 +141,7 @@ public class DisguiseCommand extends CommandBase<ArcadeManager> implements Liste
|
|||||||
Plugin.GetClients().LoadClient(other, uuid, caller.getAddress().getAddress().getAddress().toString());
|
Plugin.GetClients().LoadClient(other, uuid, caller.getAddress().getAddress().getAddress().toString());
|
||||||
|
|
||||||
Rank otherRank = other.GetRank();
|
Rank otherRank = other.GetRank();
|
||||||
if(otherRank.Has(Rank.HELPER))
|
if(otherRank.Has(Rank.TWITCH))
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, C.cRed + C.Bold + "You can't disguise as staff!");
|
UtilPlayer.message(caller, C.cRed + C.Bold + "You can't disguise as staff!");
|
||||||
_disguisedPlayers.remove(caller);
|
_disguisedPlayers.remove(caller);
|
||||||
|
Loading…
Reference in New Issue
Block a user