diff options
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 |