Fix missed diff in TileEntityHopper
This commit is contained in:
parent
3c4481aa87
commit
f5643a1d34
|
@ -0,0 +1,22 @@
|
||||||
|
From bac29928953da2120a3ed79f9404d7495a44f29b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue