mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
everlasting fire fix, small bugfixes
This commit is contained in:
parent
4b17c605b4
commit
4e4c392ade
4 changed files with 14 additions and 5 deletions
|
|
@ -69,9 +69,12 @@ class LavaBlock extends LiquidBlock implements LightingBlock{
|
|||
/*if($this->checkWater()){
|
||||
return;
|
||||
}*/
|
||||
|
||||
$falling = $this->meta >> 3;
|
||||
$down = $this->getSide(0);
|
||||
if($down instanceof WaterBlock) {
|
||||
$this->level->fastSetBlockUpdate($down->x, $down->y, $down->z, STONE, 0, true);
|
||||
return;
|
||||
}
|
||||
|
||||
$from = $this->getFrom();
|
||||
if($from !== null || $level == 0x00){
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class WaterBlock extends LiquidBlock{
|
|||
}
|
||||
$b = $this->getSide($side);
|
||||
if($b instanceof LavaBlock){
|
||||
$level = $b->meta & 0x06;
|
||||
$level = $b->meta & 0x07;
|
||||
if($level == 0x00){
|
||||
$this->level->setBlock($b, new ObsidianBlock(), false, false, true);
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue