mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Update Lava.php
This commit is contained in:
parent
65a7560185
commit
1f360c8bfb
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class LavaBlock extends LiquidBlock{
|
||||||
if($tlevel != 0x00){
|
if($tlevel != 0x00){
|
||||||
for ($s = 0; $s <= 5; $s++) {
|
for ($s = 0; $s <= 5; $s++) {
|
||||||
$ssb = $sb->getSide($s);
|
$ssb = $sb->getSide($s);
|
||||||
rAPI::request()->api->block->scheduleBlockUpdate(new Position($ssb, 0, 0, $this->level), 40, BLOCK_UPDATE_NORMAL);
|
ServerAPI::request()->api->block->scheduleBlockUpdate(new Position($ssb, 0, 0, $this->level), 40, BLOCK_UPDATE_NORMAL);
|
||||||
}
|
}
|
||||||
$this->level->setBlock($sb, new AirBlock(), false, false, true);
|
$this->level->setBlock($sb, new AirBlock(), false, false, true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue