aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2019-05-15 22:53:13 +0100
committerShane Freeder <[email protected]>2019-05-15 22:53:13 +0100
commit17fe7a1b43e2bf409fe761760a943e385c6d0e5f (patch)
treee6dc26da73060c54758a568827f633da9997dc13 /Spigot-Server-Patches/0363-Optimize-Light-Recalculations.patch
parent1183f1aa1e46e3e688e80932adb69e60eb96854e (diff)
downloadPaper-17fe7a1b43e2bf409fe761760a943e385c6d0e5f.tar.gz
Paper-17fe7a1b43e2bf409fe761760a943e385c6d0e5f.zip
Remove leftover line from spigots tick limiters
Looking over the code, this appears to be one "high risk but hopefully unlikely that plugins are causing this to break", this line is however redundant leftovers from spigots tick limiter patch, which should be doing nothing as-is.
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);