From aa9c5663ecff280b5ac2462fb484f7af64bfdeba Mon Sep 17 00:00:00 2001 From: Aikar Date: Tue, 7 Jul 2020 01:41:02 -0400 Subject: [PATCH] Fix bug on y bitset extraction from 1.16 update accidently copied z's to y. seems to impact light only, but is not the source of the light bug we've been trying to fix --- Spigot-Server-Patches/Optimize-Bit-Operations-by-inlining.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/Optimize-Bit-Operations-by-inlining.patch b/Spigot-Server-Patches/Optimize-Bit-Operations-by-inlining.patch index 5a84de14ae..f36d72ff52 100644 --- a/Spigot-Server-Patches/Optimize-Bit-Operations-by-inlining.patch +++ b/Spigot-Server-Patches/Optimize-Bit-Operations-by-inlining.patch @@ -31,7 +31,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 public static int c(long i) { - return (int) (i << 64 - BlockPosition.h >> 64 - BlockPosition.h); -+ return (int) ((i << 26) >> 38); // Paper - simplify/inline ++ return (int) ((i << 52) >> 52); // Paper - simplify/inline } public static int d(long i) {