geforkt von Mirrors/Paper
SPIGOT-1168: Fix setSleepingIgnored not working on spectators.
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
921337db16
Commit
1843b52039
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren