Let vanished staff chat in test servers
This commit is contained in:
parent
08329a8667
commit
a18e0fb579
@ -359,7 +359,7 @@ public class Chat extends MiniPlugin
|
|||||||
|
|
||||||
Player sender = event.getPlayer();
|
Player sender = event.getPlayer();
|
||||||
|
|
||||||
if (_incognitoManager != null && _incognitoManager.Get(sender).Status)
|
if (_incognitoManager != null && _incognitoManager.Get(sender).Status && !UtilServer.isTestServer())
|
||||||
{
|
{
|
||||||
UtilPlayer.message(sender, C.cYellow + "You can not chat while incognito.");
|
UtilPlayer.message(sender, C.cYellow + "You can not chat while incognito.");
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user