Update CraftBukkit to Minecraft 1.3.1
This commit is contained in:
committed by
Travis Watkins
parent
08e2923bd4
commit
a43d621c01
@@ -6,10 +6,11 @@ public class ItemSign extends Item {
|
||||
|
||||
public ItemSign(int i) {
|
||||
super(i);
|
||||
this.maxStackSize = 1;
|
||||
this.maxStackSize = 16;
|
||||
this.a(CreativeModeTab.c);
|
||||
}
|
||||
|
||||
public boolean interactWith(ItemStack itemstack, EntityHuman entityhuman, World world, int i, int j, int k, int l) {
|
||||
public boolean interactWith(ItemStack itemstack, EntityHuman entityhuman, World world, int i, int j, int k, int l, float f, float f1, float f2) {
|
||||
if (l == 0) {
|
||||
return false;
|
||||
} else if (!world.getMaterial(i, j, k).isBuildable()) {
|
||||
@@ -37,7 +38,7 @@ public class ItemSign extends Item {
|
||||
++i;
|
||||
}
|
||||
|
||||
if (!entityhuman.d(i, j, k)) {
|
||||
if (!entityhuman.e(i, j, k)) {
|
||||
return false;
|
||||
} else if (!Block.SIGN_POST.canPlace(world, i, j, k)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user