mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fix CraftBukkit comments.
This commit is contained in:
1 parent
42e473783e
commit
7f079a0cd6
28 files changed
+136
-138
No files matched your search
@@ -10,7 +10,7 @@ public class EntityFallingBlock extends Entity {
|
||||
super(world);
|
||||
}
|
||||
|
||||
// CraftBukkit -- changed method signature
|
||||
// CraftBukkit - changed method signature
|
||||
public EntityFallingBlock(World world, double d0, double d1, double d2, int i, int data) {
|
||||
super(world);
|
||||
this.a = i;
|
||||
@@ -66,7 +66,7 @@ public class EntityFallingBlock extends Entity {
|
||||
this.motY *= -0.5D;
|
||||
if (this.world.getTypeId(i, j, k) != Block.PISTON_MOVING.id) {
|
||||
this.die();
|
||||
// CraftBukkit -- setTypeId => setTypeIdAndData
|
||||
// CraftBukkit - setTypeId => setTypeIdAndData
|
||||
if ((!this.world.a(this.a, i, j, k, true, 1) || BlockSand.g(this.world, i, j - 1, k) || !this.world.setTypeIdAndData(i, j, k, this.a, this.data)) && !this.world.isStatic) {
|
||||
this.b(this.a, 1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user