Let vanished staff chat in test servers

This commit is contained in:
ArcticZeroo 2017-11-05 17:10:26 -05:00 committed by Alexander Meech
parent 08329a8667
commit a18e0fb579

View File

@ -359,7 +359,7 @@ public class Chat extends MiniPlugin
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.");
event.setCancelled(true);