Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Fixed monsters being spawned even when one was faux sleeping. Thanks to EdGruberman.
Dieser Commit ist enthalten in:
Ursprung
afd95b7e30
Commit
40c8cc0421
@ -161,6 +161,7 @@ public final class SpawnerCreature {
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
EntityHuman entityhuman = (EntityHuman) iterator.next();
|
||||
if (entityhuman.fauxSleeping) continue; // CraftBukkit - Do not generate nightmares for humans ignoring sleep
|
||||
Class[] aclass = a;
|
||||
|
||||
if (aclass != null && aclass.length != 0) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren