diff options
author | Shane Freeder <[email protected]> | 2019-05-15 22:53:13 +0100 |
---|---|---|
committer | Shane Freeder <[email protected]> | 2019-05-15 22:53:13 +0100 |
commit | 17fe7a1b43e2bf409fe761760a943e385c6d0e5f (patch) | |
tree | e6dc26da73060c54758a568827f633da9997dc13 /Spigot-Server-Patches/0435-Optimize-Captured-TileEntity-Lookup.patch | |
parent | 1183f1aa1e46e3e688e80932adb69e60eb96854e (diff) | |
download | Paper-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/0435-Optimize-Captured-TileEntity-Lookup.patch')
-rw-r--r-- | Spigot-Server-Patches/0435-Optimize-Captured-TileEntity-Lookup.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Spigot-Server-Patches/0435-Optimize-Captured-TileEntity-Lookup.patch b/Spigot-Server-Patches/0435-Optimize-Captured-TileEntity-Lookup.patch index 180c255bea..7775be729e 100644 --- a/Spigot-Server-Patches/0435-Optimize-Captured-TileEntity-Lookup.patch +++ b/Spigot-Server-Patches/0435-Optimize-Captured-TileEntity-Lookup.patch @@ -1,4 +1,4 @@ -From fd269acdf74f64fba07aebd29ec472cd6f597c70 Mon Sep 17 00:00:00 2001 +From bbf5a5ff04d56b217118ab54e6c2d91bb16ce7bb Mon Sep 17 00:00:00 2001 From: Aikar <[email protected]> Date: Sat, 6 Apr 2019 10:16:48 -0400 Subject: [PATCH] Optimize Captured TileEntity Lookup @@ -10,10 +10,10 @@ Optimize to check if the captured list even has values in it, and also to just do a get call since the value can never be null. diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java -index 0e8025d311..b940f95bdb 100644 +index aa04b9564..f5156a89a 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java -@@ -1935,12 +1935,13 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc +@@ -1934,12 +1934,13 @@ public abstract class World implements IEntityAccess, GeneratorAccess, IIBlockAc return null; } else { // CraftBukkit start |