From 9cd11117feca7bc870b39d06ddcadf80113a6c1d Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 6 Sep 2015 15:05:56 +1000 Subject: SPIGOT-1168: Fix setSleepingIgnored not working on spectators. --- nms-patches/WorldServer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches/WorldServer.patch') 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; -- cgit v1.2.3