mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix: on_block_placed not calling
This commit is contained in:
parent
5dce372156
commit
3b5857ee62
2 changed files with 9 additions and 9 deletions
|
|
@ -80,9 +80,7 @@ void BlocksController::placeBlock(
|
|||
);
|
||||
chunks->set(x, y, z, def.rt.id, state);
|
||||
lighting->onBlockSet(x, y, z, def.rt.id);
|
||||
if (def.rt.funcsset.onplaced) {
|
||||
scripting::on_block_placed(player, def, x, y, z);
|
||||
}
|
||||
scripting::on_block_placed(player, def, x, y, z);
|
||||
if (def.rt.extended) {
|
||||
updateSides(x, y, z , def.size.x, def.size.y, def.size.z);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue