Fix CraftBukkit comments.

This commit is contained in:
Erik Broes
2012-01-12 12:02:39 +01:00
parent 42e473783e
commit 7f079a0cd6
28 changed files with 136 additions and 138 deletions

View File

@@ -10,7 +10,7 @@ public class EntityFallingBlock extends Entity {
super(world);
}
// CraftBukkit -- changed method signature
// CraftBukkit - changed method signature
public EntityFallingBlock(World world, double d0, double d1, double d2, int i, int data) {
super(world);
this.a = i;
@@ -66,7 +66,7 @@ public class EntityFallingBlock extends Entity {
this.motY *= -0.5D;
if (this.world.getTypeId(i, j, k) != Block.PISTON_MOVING.id) {
this.die();
// CraftBukkit -- setTypeId => setTypeIdAndData
// CraftBukkit - setTypeId => setTypeIdAndData
if ((!this.world.a(this.a, i, j, k, true, 1) || BlockSand.g(this.world, i, j - 1, k) || !this.world.setTypeIdAndData(i, j, k, this.a, this.data)) && !this.world.isStatic) {
this.b(this.a, 1);
}