diff options
author | md_5 <git@md-5.net> | 2015-09-06 15:05:56 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2015-09-06 15:05:56 +1000 |
commit | 9cd11117feca7bc870b39d06ddcadf80113a6c1d (patch) | |
tree | c5474ce414c65d781a76a92f5dbb8ee926729ba8 | |
parent | 5e9f698fac73a155217f9b42fdb203ea067961e8 (diff) | |
download | craftbukkit-9cd11117feca7bc870b39d06ddcadf80113a6c1d.tar craftbukkit-9cd11117feca7bc870b39d06ddcadf80113a6c1d.tar.gz craftbukkit-9cd11117feca7bc870b39d06ddcadf80113a6c1d.tar.lz craftbukkit-9cd11117feca7bc870b39d06ddcadf80113a6c1d.tar.xz craftbukkit-9cd11117feca7bc870b39d06ddcadf80113a6c1d.zip |
SPIGOT-1168: Fix setSleepingIgnored not working on spectators.
-rw-r--r-- | nms-patches/WorldServer.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/WorldServer.patch b/nms-patches/WorldServer.patch index 3c8104be..5acbfbda 100644 --- a/nms-patches/WorldServer.patch +++ b/nms-patches/WorldServer.patch @@ -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; |