]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - builtin/game/register.lua
Add on_secondary_use when right clicking an item in the air
[dragonfireclient.git] / builtin / game / register.lua
index 00bb2327879f5094e541e6b3387aa947ae66c39b..992fdf74481ae0a0f8f7e1347297c635e7e0f43a 100644 (file)
@@ -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,