mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fallingsand will update blocks nearby after placing itself
This commit is contained in:
parent
e85fbd6067
commit
7c733886c2
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class FallingSand extends Entity{
|
|||
$this->speedY *= -0.5;
|
||||
$this->close();
|
||||
//TODO vanilla-like checking?
|
||||
$this->level->fastSetBlockUpdate($x, $y, $z, $this->data["Tile"], 0); //TODO add metadata
|
||||
$this->level->fastSetBlockUpdate($x, $y, $z, $this->data["Tile"], 0, true); //TODO add metadata
|
||||
}elseif(($blockAt = $this->level->level->getBlockID($x, $y, $z)) != 0){
|
||||
//TODO vanilla-like checking?
|
||||
if(StaticBlock::getIsTransparent($blockAt) && !StaticBlock::getIsLiquid($blockAt)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue