mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
some CS
This commit is contained in:
parent
437576a981
commit
a4b7fbf2df
10 changed files with 24 additions and 24 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue