mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add on_secondary_use when right clicking an item in the air
This commit is contained in:
parent
57b429574e
commit
97908cc656
8 changed files with 71 additions and 0 deletions
|
@ -272,6 +272,7 @@ core.register_item(":unknown", {
|
|||
description = "Unknown Item",
|
||||
inventory_image = "unknown_item.png",
|
||||
on_place = core.item_place,
|
||||
on_secondary_use = core.item_secondary_use,
|
||||
on_drop = core.item_drop,
|
||||
groups = {not_in_creative_inventory=1},
|
||||
diggable = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue