Update CraftBukkit to 1.6.2
This commit is contained in:
@@ -266,7 +266,7 @@ public class TileEntityHopper extends TileEntity implements IHopper {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
EntityItem entityitem = getEntityItemAt(ihopper.getWorld(), ihopper.az(), ihopper.aA() + 1.0D, ihopper.aB());
|
||||
EntityItem entityitem = getEntityItemAt(ihopper.getWorld(), ihopper.aA(), ihopper.aB() + 1.0D, ihopper.aC());
|
||||
|
||||
if (entityitem != null) {
|
||||
return addEntityItem(ihopper, entityitem);
|
||||
@@ -423,7 +423,7 @@ public class TileEntityHopper extends TileEntity implements IHopper {
|
||||
}
|
||||
|
||||
public static IInventory getSourceInventory(IHopper ihopper) {
|
||||
return getInventoryAt(ihopper.getWorld(), ihopper.az(), ihopper.aA() + 1.0D, ihopper.aB());
|
||||
return getInventoryAt(ihopper.getWorld(), ihopper.aA(), ihopper.aB() + 1.0D, ihopper.aC());
|
||||
}
|
||||
|
||||
public static EntityItem getEntityItemAt(World world, double d0, double d1, double d2) {
|
||||
@@ -466,15 +466,15 @@ public class TileEntityHopper extends TileEntity implements IHopper {
|
||||
return itemstack.id != itemstack1.id ? false : (itemstack.getData() != itemstack1.getData() ? false : (itemstack.count > itemstack.getMaxStackSize() ? false : ItemStack.equals(itemstack, itemstack1)));
|
||||
}
|
||||
|
||||
public double az() {
|
||||
public double aA() {
|
||||
return (double) this.x;
|
||||
}
|
||||
|
||||
public double aA() {
|
||||
public double aB() {
|
||||
return (double) this.y;
|
||||
}
|
||||
|
||||
public double aB() {
|
||||
public double aC() {
|
||||
return (double) this.z;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user