mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added more Events and Handlers
This commit is contained in:
parent
e4d71949e3
commit
d733eb6b4a
5 changed files with 14 additions and 7 deletions
|
|
@ -576,7 +576,7 @@ class BlockAPI{
|
|||
}
|
||||
|
||||
public function updateBlockRemote($data, $event){
|
||||
if($event !== "world.block.update"){
|
||||
if($event !== "block.update"){
|
||||
return;
|
||||
}
|
||||
$this->updateBlock($data["x"], $data["y"], $data["z"], isset($data["type"]) ? $data["type"]:BLOCK_UPDATE_RANDOM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue