From bb82a8a401bcb3cb5861c5a9a34634b09b0a4344 Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 19 Mar 2016 10:57:22 -0400 Subject: [PATCH] forgot to rebuild after last light change, another fix --- Spigot-Server-Patches/Optimized-Light-Level-Comparisons.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-Server-Patches/Optimized-Light-Level-Comparisons.patch b/Spigot-Server-Patches/Optimized-Light-Level-Comparisons.patch index ea73113748..4a0364ae9b 100644 --- a/Spigot-Server-Patches/Optimized-Light-Level-Comparisons.patch +++ b/Spigot-Server-Patches/Optimized-Light-Level-Comparisons.patch @@ -107,10 +107,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 this.world.c(10); - i = this.world.getLightLevel(blockposition); -+ passes = !world.isLightLevel(blockposition, this.random.nextInt(8)); // Paper ++ passes = !world.isLightLevel(blockposition, this.random.nextInt(9)); // Paper this.world.c(j); - } -+ } else { passes = !world.isLightLevel(blockposition, this.random.nextInt(8)); } // Paper ++ } else { passes = !world.isLightLevel(blockposition, this.random.nextInt(9)); } // Paper - return i <= this.random.nextInt(8); + return passes; // Paper