Update CraftBukkit to Minecraft 1.3.1
This commit is contained in:
committed by
Travis Watkins
parent
08e2923bd4
commit
a43d621c01
@@ -6,9 +6,10 @@ public class ItemRedstone extends Item {
|
||||
|
||||
public ItemRedstone(int i) {
|
||||
super(i);
|
||||
this.a(CreativeModeTab.d);
|
||||
}
|
||||
|
||||
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) {
|
||||
int clickedX = i, clickedY = j, clickedZ = k; // CraftBukkit
|
||||
|
||||
if (world.getTypeId(i, j, k) != Block.SNOW.id) {
|
||||
@@ -41,7 +42,7 @@ public class ItemRedstone extends Item {
|
||||
}
|
||||
}
|
||||
|
||||
if (!entityhuman.d(i, j, k)) {
|
||||
if (!entityhuman.e(i, j, k)) {
|
||||
return false;
|
||||
} else {
|
||||
if (Block.REDSTONE_WIRE.canPlace(world, i, j, k)) {
|
||||
|
||||
Reference in New Issue
Block a user