This commit is contained in:
Trixkz 2023-10-26 23:20:06 -04:00
parent d49e4bd87d
commit fe67537ff0

View File

@ -39,6 +39,12 @@ public class StaffModeListener implements Listener {
playerOnline.hidePlayer(playerVanished);
}
}
if (!player.hasPermission("eventcore.command.staffmode")) {
return;
}
this.main.getStaffManager().setStaffMode(player, true);
}
@EventHandler