Update CraftBukkit to Minecraft 1.4.4.

This commit is contained in:
Travis Watkins
2012-11-06 06:05:28 -06:00
parent a0c3b4f9d1
commit 7f7192f8fd
169 changed files with 3295 additions and 2774 deletions

View File

@@ -41,7 +41,7 @@ public class BlockTripwire extends Block {
public void doPhysics(World world, int i, int j, int k, int l) {
int i1 = world.getData(i, j, k);
boolean flag = (i1 & 2) == 2;
boolean flag1 = !world.t(i, j - 1, k);
boolean flag1 = !world.v(i, j - 1, k);
if (flag != flag1) {
this.c(world, i, j, k, i1, 0);
@@ -64,7 +64,7 @@ public class BlockTripwire extends Block {
}
public void onPlace(World world, int i, int j, int k) {
int l = world.t(i, j - 1, k) ? 0 : 2;
int l = world.v(i, j - 1, k) ? 0 : 2;
world.setData(i, j, k, l);
this.d(world, i, j, k, l);
@@ -76,7 +76,7 @@ public class BlockTripwire extends Block {
public void a(World world, int i, int j, int k, int l, EntityHuman entityhuman) {
if (!world.isStatic) {
if (entityhuman.bP() != null && entityhuman.bP().id == Item.SHEARS.id) {
if (entityhuman.bT() != null && entityhuman.bT().id == Item.SHEARS.id) {
world.setData(i, j, k, l | 8);
}
}