mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
added bazalt_breaker + scripting fix
This commit is contained in:
parent
40987f16b6
commit
5569bd711e
5 changed files with 37 additions and 27 deletions
|
|
@ -260,7 +260,7 @@ void PlayerController::updateInteraction(){
|
|||
}
|
||||
|
||||
if (lclick) {
|
||||
if (!input.shift && item->rt.funcsset.on_use_on_block) {
|
||||
if (!input.shift && item->rt.funcsset.on_block_break_by) {
|
||||
if (scripting::on_item_break_block(player, item, x, y, z))
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue