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; }