mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Update for 1.0.0
This commit is contained in:
@@ -26,8 +26,8 @@ public class BlockPistonExtension extends Block {
|
||||
|
||||
if (j1 == Block.PISTON.id || j1 == Block.PISTON_STICKY.id) {
|
||||
l = world.getData(i, j, k);
|
||||
if (BlockPiston.d(l)) {
|
||||
Block.byId[j1].g(world, i, j, k, l);
|
||||
if (BlockPiston.e(l)) {
|
||||
Block.byId[j1].b(world, i, j, k, l, 0);
|
||||
world.setTypeId(i, j, k, 0);
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,10 @@ public class BlockPistonExtension extends Block {
|
||||
return i == k ? (this.a >= 0 ? this.a : ((j & 8) != 0 ? this.textureId - 1 : this.textureId)) : (i == PistonBlockTextures.a[k] ? 107 : 108);
|
||||
}
|
||||
|
||||
public int c() {
|
||||
return 17;
|
||||
}
|
||||
|
||||
public boolean a() {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user