summaryrefslogtreecommitdiffstats
path: root/nms-patches/WorldServer.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-09-06 15:05:56 +1000
committermd_5 <git@md-5.net>2015-09-06 15:05:56 +1000
commit9cd11117feca7bc870b39d06ddcadf80113a6c1d (patch)
treec5474ce414c65d781a76a92f5dbb8ee926729ba8 /nms-patches/WorldServer.patch
parent5e9f698fac73a155217f9b42fdb203ea067961e8 (diff)
downloadcraftbukkit-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.
Diffstat (limited to 'nms-patches/WorldServer.patch')
-rw-r--r--nms-patches/WorldServer.patch2
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;