summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/BlockSoil.java
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-11-06 06:05:28 -0600
committerTravis Watkins <amaranth@ubuntu.com>2012-11-13 16:09:52 -0600
commit7f7192f8fd8357e664e7e2d6e7c5f65fd0fcd2f7 (patch)
tree843902ff94d82e86f40d7e0af1ac838fee859e75 /src/main/java/net/minecraft/server/BlockSoil.java
parenta0c3b4f9d1b403fa64230f22b5dd3222181ba646 (diff)
downloadcraftbukkit-7f7192f8fd8357e664e7e2d6e7c5f65fd0fcd2f7.tar
craftbukkit-7f7192f8fd8357e664e7e2d6e7c5f65fd0fcd2f7.tar.gz
craftbukkit-7f7192f8fd8357e664e7e2d6e7c5f65fd0fcd2f7.tar.lz
craftbukkit-7f7192f8fd8357e664e7e2d6e7c5f65fd0fcd2f7.tar.xz
craftbukkit-7f7192f8fd8357e664e7e2d6e7c5f65fd0fcd2f7.zip
Update CraftBukkit to Minecraft 1.4.4.
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockSoil.java')
-rw-r--r--src/main/java/net/minecraft/server/BlockSoil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockSoil.java b/src/main/java/net/minecraft/server/BlockSoil.java
index bdffd555..a245359d 100644
--- a/src/main/java/net/minecraft/server/BlockSoil.java
+++ b/src/main/java/net/minecraft/server/BlockSoil.java
@@ -31,7 +31,7 @@ public class BlockSoil extends Block {
}
public void b(World world, int i, int j, int k, Random random) {
- if (!this.n(world, i, j, k) && !world.B(i, j + 1, k)) {
+ if (!this.n(world, i, j, k) && !world.D(i, j + 1, k)) {
int l = world.getData(i, j, k);
if (l > 0) {
@@ -71,7 +71,7 @@ public class BlockSoil extends Block {
for (int i1 = k - b0; i1 <= k + b0; ++i1) {
int j1 = world.getTypeId(l, j + 1, i1);
- if (j1 == Block.CROPS.id || j1 == Block.MELON_STEM.id || j1 == Block.PUMPKIN_STEM.id) {
+ if (j1 == Block.CROPS.id || j1 == Block.MELON_STEM.id || j1 == Block.PUMPKIN_STEM.id || j1 == Block.POTATOES.id || j1 == Block.CARROTS.id) {
return true;
}
}