SPIGOT-1168: Fix setSleepingIgnored not working on spectators.
Dieser Commit ist enthalten in:
Ursprung
5e9f698fac
Commit
9cd11117fe
@ -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;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren