This commit is contained in:
kotyara 2024-03-15 20:13:32 +05:00 • committed by GitHub
parent 437576a981
commit a4b7fbf2df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 24 additions and 24 deletions

View file

@ -43,7 +43,7 @@ class FallingSand extends Entity{
$this->close();
//TODO vanilla-like checking?
$this->level->fastSetBlockUpdate($x, $y, $z, $this->data["Tile"], 0); //TODO add metadata
}else if(($blockAt = $this->level->level->getBlockID($x, $y, $z)) != 0){
}elseif(($blockAt = $this->level->level->getBlockID($x, $y, $z)) != 0){
//TODO vanilla-like checking?
if(StaticBlock::getIsTransparent($blockAt) && !StaticBlock::getIsLiquid($blockAt)){
$this->close();