mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update for 1.0.0
This commit is contained in:
1 parent
589f66bd1b
commit
345ea36c7b
153 files changed
+6128
-4617
No files matched your search
@@ -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