mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Torches drop when no supporting block is present
This commit is contained in:
@@ -296,17 +296,7 @@ class BlockAPI{
|
||||
return false;
|
||||
}
|
||||
|
||||
/*public function blockScheduler($data){
|
||||
$this->updateBlock($data["x"], $data["y"], $data["z"], BLOCK_UPDATE_SCHEDULED);
|
||||
}
|
||||
|
||||
public function updateBlockRemote($data, $event){
|
||||
if($event !== "block.update"){
|
||||
return;
|
||||
}
|
||||
$this->updateBlock($data["x"], $data["y"], $data["z"], isset($data["type"]) ? $data["type"]:BLOCK_UPDATE_RANDOM);
|
||||
return true;
|
||||
}
|
||||
/*
|
||||
|
||||
public function flowLavaOn($source, $face){
|
||||
$down = 0;
|
||||
|
Reference in New Issue
Block a user