From e18cef3e72339b3ea13a68eac61a378f3867fc53 Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 4 Jun 2016 11:52:25 -0400 Subject: [PATCH] remove part of my hopper patch, not sure its doing what I intended --- .../Improve-Minecraft-Hopper-Performance.patch | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Spigot-Server-Patches/Improve-Minecraft-Hopper-Performance.patch b/Spigot-Server-Patches/Improve-Minecraft-Hopper-Performance.patch index 20f50a9034..ed82246c76 100644 --- a/Spigot-Server-Patches/Improve-Minecraft-Hopper-Performance.patch +++ b/Spigot-Server-Patches/Improve-Minecraft-Hopper-Performance.patch @@ -35,17 +35,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 // Paper end } + -+ if (!isCooledDown() && isFull()) { setCooldown(world.spigotConfig.hopperTransfer); } // Paper return false; } else { return false; - } - } - -+ boolean isFull() { return q(); } // Paper // OBFHELPER - private boolean q() { - ItemStack[] aitemstack = this.items; - int i = aitemstack.length; @@ -0,0 +0,0 @@ public class TileEntityHopper extends TileEntityLootable implements IHopper, ITi boolean flag = false; @@ -73,6 +65,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 public boolean o() { return this.g > 0; } --- -2.7.4 (Apple Git-66) - +-- \ No newline at end of file