mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
lava movement
This commit is contained in:
parent
f200683643
commit
0ca6becc6a
5 changed files with 51 additions and 68 deletions
|
|
@ -36,18 +36,6 @@ class FallingSand extends Entity{
|
|||
$y = floor($this->y);
|
||||
$z = floor($this->z);
|
||||
|
||||
if($this->fallTime == 1){
|
||||
/* i dont think this is needed here?
|
||||
* if (this.worldObj.getBlockId(var1, var2, var3) != this.blockID)
|
||||
{
|
||||
this.setDead();
|
||||
return;
|
||||
}
|
||||
|
||||
this.worldObj.setBlockToAir(var1, var2, var3);
|
||||
*/
|
||||
}
|
||||
|
||||
if($this->onGround){
|
||||
$this->speedX *= 0.7;
|
||||
$this->speedZ *= 0.7;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue