Updated CraftBukkit to 1.2

This commit is contained in:
Nathan Adams
2012-03-01 10:49:23 +00:00
parent e9ca87000c
commit 543c4879fe
143 changed files with 3710 additions and 4433 deletions

View File

@@ -77,14 +77,14 @@ public class BlockMushroom extends BlockFlower {
}
protected boolean d(int i) {
return Block.o[i];
return Block.n[i];
}
public boolean f(World world, int i, int j, int k) {
if (j >= 0 && j < world.height) {
if (j >= 0 && j < 256) {
int l = world.getTypeId(i, j - 1, k);
return l == Block.MYCEL.id || world.k(i, j, k) < 13 && this.d(l);
return l == Block.MYCEL.id || world.m(i, j, k) < 13 && this.d(l);
} else {
return false;
}