Skip to content

Commit

Permalink
Fix #62
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nkomarn committed Nov 10, 2020
1 parent b2b3bac commit 130953b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/xyz/nkomarn/harbor/task/Checker.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ private boolean isExcluded(@NotNull Player player) {
|| excludedBySpectator
|| excludedByPermission
|| excludedByVanish
|| harbor.getPlayerManager().isAfk(player)
|| player.isSleepingIgnored();
|| harbor.getPlayerManager().isAfk(player);
}

/**
Expand Down

0 comments on commit 130953b

Please sign in to comment.