Removed unneeded check.
This commit is contained in:
parent
dc6fcac971
commit
10ef5530ea
1 changed files with 0 additions and 4 deletions
|
@ -34,10 +34,6 @@ public class BlockSpring extends Block {
|
|||
if(!world.isAirBlock(x, y + 1, z))
|
||||
return;
|
||||
|
||||
int above = world.getBlockId(x, y + 1, z);
|
||||
if(above == Block.waterStill.blockID)
|
||||
return;
|
||||
|
||||
world.setBlockWithNotify(x, y + 1, z, Block.waterStill.blockID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue