mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-12 14:50:03 +01:00
SPIGOT-1168: Fix setSleepingIgnored not working on spectators.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
921337db16
commit
1843b52039
@ -254,7 +254,7 @@
|
||||
+ if (entityhuman.isDeeplySleeping()) {
|
||||
+ foundActualSleepers = true;
|
||||
+ }
|
||||
+ } while (!entityhuman.isSpectator() && (entityhuman.isDeeplySleeping() || entityhuman.fauxSleeping));
|
||||
+ } while (!entityhuman.isSpectator() || entityhuman.isDeeplySleeping() || entityhuman.fauxSleeping);
|
||||
+ // CraftBukkit end
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user