aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch')
-rw-r--r--Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch b/Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch
index 6f1019924d..82d8f1785c 100644
--- a/Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch
+++ b/Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch
@@ -1,4 +1,4 @@
-From 68d53d355f81300b2cbd41c12ef16efe87a3d8fb Mon Sep 17 00:00:00 2001
+From 699542a90b5f91b625a0980d76abafd22a0ec5e4 Mon Sep 17 00:00:00 2001
From: Aikar <[email protected]>
Date: Fri, 28 Sep 2018 20:46:29 -0400
Subject: [PATCH] Optimize Light Recalculations
@@ -7,7 +7,7 @@ Optimizes to not repeatedly look up the same chunk for
light lookups.
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index 4f64072a7b..966879a894 100644
+index 4f64072a7..966879a89 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -353,7 +353,7 @@ public class Chunk implements IChunkAccess {
@@ -20,7 +20,7 @@ index 4f64072a7b..966879a894 100644
this.x = true;
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 97a0fbd55c..fb71879ac0 100644
+index 261567ecc..586a5a990 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -591,8 +591,9 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc
@@ -35,7 +35,7 @@ index 97a0fbd55c..fb71879ac0 100644
}
}
-@@ -2220,6 +2221,11 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc
+@@ -2219,6 +2220,11 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc
public boolean c(EnumSkyBlock enumskyblock, BlockPosition blockposition) {
// CraftBukkit start - Use neighbor cache instead of looking up
Chunk chunk = this.getChunkIfLoaded(blockposition.getX() >> 4, blockposition.getZ() >> 4);