1
0
mirror of https://github.com/nkomarn/harbor.git synced 2024-11-22 01:45:47 +01:00
Don't count sleepingIgnored() as an exclusion because this causes conflicts with other plugins. Oftentimes it's difficult to track down which plugin is causing sleeping to be ignored, so it's easier to just remove the check.
This commit is contained in:
Mykyta Komarnytskyy 2020-11-10 10:31:37 -08:00
parent b2b3baccf4
commit 130953b216

View File

@ -217,8 +217,7 @@ public class Checker extends BukkitRunnable {
|| excludedBySpectator
|| excludedByPermission
|| excludedByVanish
|| harbor.getPlayerManager().isAfk(player)
|| player.isSleepingIgnored();
|| harbor.getPlayerManager().isAfk(player);
}
/**