diff options
author | Tahg <tahgtahv@gmail.com> | 2011-10-27 20:03:28 -0400 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-10-27 20:03:28 -0400 |
commit | c69f5fda9b025ff13ca96e5a6a7b76a52e0bdc7e (patch) | |
tree | 288e7d3aefc5ca0183455f81a4ad369b6b12a3c2 | |
parent | 2f1513cae0bc662b4b5db595574f62e82fb640e1 (diff) | |
download | craftbukkit-c69f5fda9b025ff13ca96e5a6a7b76a52e0bdc7e.tar craftbukkit-c69f5fda9b025ff13ca96e5a6a7b76a52e0bdc7e.tar.gz craftbukkit-c69f5fda9b025ff13ca96e5a6a7b76a52e0bdc7e.tar.lz craftbukkit-c69f5fda9b025ff13ca96e5a6a7b76a52e0bdc7e.tar.xz craftbukkit-c69f5fda9b025ff13ca96e5a6a7b76a52e0bdc7e.zip |
added some missing comments for falling entities
-rw-r--r-- | src/main/java/net/minecraft/server/BlockSand.java | 1 | ||||
-rw-r--r-- | src/main/java/net/minecraft/server/EntityFallingSand.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockSand.java b/src/main/java/net/minecraft/server/BlockSand.java index abee35b0..cc4ef57e 100644 --- a/src/main/java/net/minecraft/server/BlockSand.java +++ b/src/main/java/net/minecraft/server/BlockSand.java @@ -27,6 +27,7 @@ public class BlockSand extends Block { byte b0 = 32; if (!instaFall && world.a(i - b0, j - b0, k - b0, i + b0, j + b0, k + b0)) { + // CraftBukkit Change call to add data EntityFallingSand entityfallingsand = new EntityFallingSand(world, (double) ((float) i + 0.5F), (double) ((float) j + 0.5F), (double) ((float) k + 0.5F), this.id, world.getData(i, j, k)); world.addEntity(entityfallingsand); diff --git a/src/main/java/net/minecraft/server/EntityFallingSand.java b/src/main/java/net/minecraft/server/EntityFallingSand.java index 0853c895..dead5a74 100644 --- a/src/main/java/net/minecraft/server/EntityFallingSand.java +++ b/src/main/java/net/minecraft/server/EntityFallingSand.java @@ -14,7 +14,7 @@ public class EntityFallingSand extends Entity { public EntityFallingSand(World world, double d0, double d1, double d2, int i, int data) { super(world); this.a = i; - this.data = data; + this.data = data; // CraftBukkit this.aY = true; this.b(0.98F, 0.98F); this.height = this.width / 2.0F; |