mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 18:39:42 -05:00
Update CraftBukkit to 1.6.2
This commit is contained in:
1 parent
2d9a9d8cea
commit
f6a0b1e426
87 files changed
+1162
-1112
No files matched your search
@@ -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