diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-05-26 13:48:22 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-05-26 13:48:22 +0100 |
commit | 6903f2024217f0959c015e76b23297af8e3b573f (patch) | |
tree | 690bf275ce19c655bd64eea05be231ed0c318fd6 /src/main/java/net/minecraft/server/BlockSoil.java | |
parent | f463453d73249fe73cf3e23ed37e6cee870c8bf4 (diff) | |
download | craftbukkit-6903f2024217f0959c015e76b23297af8e3b573f.tar craftbukkit-6903f2024217f0959c015e76b23297af8e3b573f.tar.gz craftbukkit-6903f2024217f0959c015e76b23297af8e3b573f.tar.lz craftbukkit-6903f2024217f0959c015e76b23297af8e3b573f.tar.xz craftbukkit-6903f2024217f0959c015e76b23297af8e3b573f.zip |
Implemented 1.6!
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockSoil.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockSoil.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockSoil.java b/src/main/java/net/minecraft/server/BlockSoil.java index 69b95c92..a37b3cfd 100644 --- a/src/main/java/net/minecraft/server/BlockSoil.java +++ b/src/main/java/net/minecraft/server/BlockSoil.java @@ -29,13 +29,17 @@ public class BlockSoil extends Block { return false; } + public boolean b() { + return false; + } + public int a(int i, int j) { return i == 1 && j > 0 ? this.textureId - 1 : (i == 1 ? this.textureId : 2); } public void a(World world, int i, int j, int k, Random random) { if (random.nextInt(5) == 0) { - if (!this.h(world, i, j, k) && !world.q(i, j + 1, k)) { + if (!this.h(world, i, j, k) && !world.s(i, j + 1, k)) { int l = world.getData(i, j, k); if (l > 0) { |