From 242ddc939be68cabd91ef6af57a332681f3949ef Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 27 Apr 2016 22:22:35 -0400 Subject: [PATCH] comment out the other update call instead otherwise might break stuff --- ...-Improve-Minecraft-Hopper-Performance.patch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Spigot-Server-Patches/0150-Improve-Minecraft-Hopper-Performance.patch b/Spigot-Server-Patches/0150-Improve-Minecraft-Hopper-Performance.patch index 9b041c1023..e4b6cf4ebb 100644 --- a/Spigot-Server-Patches/0150-Improve-Minecraft-Hopper-Performance.patch +++ b/Spigot-Server-Patches/0150-Improve-Minecraft-Hopper-Performance.patch @@ -1,4 +1,4 @@ -From e256058fb406f77efef961c8d27933efc474cf07 Mon Sep 17 00:00:00 2001 +From aa73526a81df5b7120cf6c8384b7a5840c46e00d Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 27 Apr 2016 22:09:52 -0400 Subject: [PATCH] Improve Minecraft Hopper Performance @@ -27,7 +27,7 @@ index f579d28..6962c1b 100644 this.h = iblockdata.getBlock().toLegacyData(iblockdata); diff --git a/src/main/java/net/minecraft/server/TileEntityHopper.java b/src/main/java/net/minecraft/server/TileEntityHopper.java -index 243da36..d5cf8a7 100644 +index 243da36..68d096f 100644 --- a/src/main/java/net/minecraft/server/TileEntityHopper.java +++ b/src/main/java/net/minecraft/server/TileEntityHopper.java @@ -185,12 +185,15 @@ public class TileEntityHopper extends TileEntityLootable implements IHopper, ITi @@ -56,15 +56,15 @@ index 243da36..d5cf8a7 100644 itemstack = null; flag = true; } else if (a(itemstack1, itemstack)) { -@@ -508,7 +513,7 @@ public class TileEntityHopper extends TileEntityLootable implements IHopper, ITi - iinventory.update(); +@@ -505,7 +510,7 @@ public class TileEntityHopper extends TileEntityLootable implements IHopper, ITi + tileentityhopper.setCooldown(tileentityhopper.world.spigotConfig.hopperTransfer); // Spigot + } + +- iinventory.update(); ++ //iinventory.update(); // Paper } -- iinventory.update(); -+ //iinventory.update(); // Paper - } - } - + iinventory.update(); @@ -580,6 +585,7 @@ public class TileEntityHopper extends TileEntityLootable implements IHopper, ITi this.g = i; }