mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-19 13:02:12 +00:00
SPIGOT-1168: Fix setSleepingIgnored not working on spectators.
This commit is contained in:
parent
5e9f698fac
commit
9cd11117fe
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@
|
||||||
+ if (entityhuman.isDeeplySleeping()) {
|
+ if (entityhuman.isDeeplySleeping()) {
|
||||||
+ foundActualSleepers = true;
|
+ foundActualSleepers = true;
|
||||||
+ }
|
+ }
|
||||||
+ } while (!entityhuman.isSpectator() && (entityhuman.isDeeplySleeping() || entityhuman.fauxSleeping));
|
+ } while (!entityhuman.isSpectator() || entityhuman.isDeeplySleeping() || entityhuman.fauxSleeping);
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue