don't unfreeze player impostors either

This commit is contained in:
Lemon 2018-03-27 12:08:57 +05:00 committed by GitHub
parent a63681d4a3
commit dec237db9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ public class FreezeData
@Override @Override
public void run() public void run()
{ {
if (!fPlayer.getPlugin().al.isAdminImpostor(player)) if (!fPlayer.getPlugin().al.isAdminImpostor(player) && !fPlayer.getPlugin().pv.isPlayerImpostor(player))
{ {
FUtil.adminAction("TotalFreedom", "Unfreezing " + player.getName(), false); FUtil.adminAction("TotalFreedom", "Unfreezing " + player.getName(), false);
setFrozen(false); setFrozen(false);