mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Explosion performance improvements
This commit is contained in:
parent
8a4ebcc907
commit
2b0ad36e14
5 changed files with 38 additions and 24 deletions
|
|
@ -564,7 +564,7 @@ class BlockAPI{
|
|||
$this->blockUpdate($pos->getSide(5), $type);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function scheduleBlockUpdate(Position $pos, $delay, $type = BLOCK_UPDATE_SCHEDULED){
|
||||
$type = (int) $type;
|
||||
if($delay < 0){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue