From bac29928953da2120a3ed79f9404d7495a44f29b Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Mon, 24 Mar 2014 11:59:59 +0000 Subject: [PATCH] Fix missed diff in TileEntityHopper diff --git a/src/main/java/net/minecraft/server/TileEntityHopper.java b/src/main/java/net/minecraft/server/TileEntityHopper.java index 8ace84f..fed4ece 100644 --- a/src/main/java/net/minecraft/server/TileEntityHopper.java +++ b/src/main/java/net/minecraft/server/TileEntityHopper.java @@ -265,7 +265,7 @@ public class TileEntityHopper extends TileEntity implements IHopper { InventoryMoveItemEvent event = new InventoryMoveItemEvent(this.getOwner().getInventory(), oitemstack.clone(), destinationInventory, true); this.getWorld().getServer().getPluginManager().callEvent(event); if (event.isCancelled()) { - this.setItem(i, itemstack); + this.setItem(j, itemstack); // Spigot i -> j this.c(world.spigotConfig.hopperTransfer); // Spigot return false; } -- 1.8.5.2.msysgit.0