Update for 1.0.0
This commit is contained in:
@@ -44,7 +44,7 @@ public class BlockSnow extends Block {
|
||||
|
||||
private boolean g(World world, int i, int j, int k) {
|
||||
if (!this.canPlace(world, i, j, k)) {
|
||||
this.g(world, i, j, k, world.getData(i, j, k));
|
||||
this.b(world, i, j, k, world.getData(i, j, k), 0);
|
||||
world.setTypeId(i, j, k, 0);
|
||||
return false;
|
||||
} else {
|
||||
@@ -66,7 +66,7 @@ public class BlockSnow extends Block {
|
||||
entityhuman.a(StatisticList.C[this.id], 1);
|
||||
}
|
||||
|
||||
public int a(int i, Random random) {
|
||||
public int a(int i, Random random, int j) {
|
||||
return Item.SNOW_BALL.id;
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ public class BlockSnow extends Block {
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
this.g(world, i, j, k, world.getData(i, j, k));
|
||||
this.b(world, i, j, k, world.getData(i, j, k), 0);
|
||||
world.setTypeId(i, j, k, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user