Update CraftBukkit to 1.6.1

This commit is contained in:
Nate Mortensen authored and Wesley Wolfe committed 2013-07-01 12:10:06 -05:00
1 parent f887b76a25
commit 6c09066e22
228 files changed
+6426 -5442

No files matched your search

@@ -70,14 +70,18 @@ public class BlockCommand extends BlockContainer {
public int b_(World world, int i, int j, int k, int l) {
TileEntity tileentity = world.getTileEntity(i, j, k);
return tileentity != null && tileentity instanceof TileEntityCommand ? ((TileEntityCommand) tileentity).d() : 0;
return tileentity != null && tileentity instanceof TileEntityCommand ? ((TileEntityCommand) tileentity).f() : 0;
}
public void postPlace(World world, int i, int j, int k, EntityLiving entityliving, ItemStack itemstack) {
TileEntityCommand tileentitycommand = (TileEntityCommand) world.getTileEntity(i, j, k);
if (itemstack.hasName()) {
tileentitycommand.c(itemstack.getName());
tileentitycommand.b(itemstack.getName());
}
}
public int a(Random random) {
return 0;
}
}