mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 18:20:36 +01:00
Fixed screwdriver by adding missing API snippets
- Added missing snippets to the mithril screwdriver. Solves #67
This commit is contained in:
parent
c347faaed6
commit
b291b1587d
@ -106,11 +106,11 @@ minetest.register_tool("screwdriver:screwdriver_perfect", {
|
|||||||
description = "Perfect Screwdriver (left-click rotates face, right-click rotates axis)",
|
description = "Perfect Screwdriver (left-click rotates face, right-click rotates axis)",
|
||||||
inventory_image = "screwdriver_perfect.png",
|
inventory_image = "screwdriver_perfect.png",
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
screwdriver_handler(itemstack, user, pointed_thing, ROTATE_FACE)
|
screwdriver_handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE)
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
on_place = function(itemstack, user, pointed_thing)
|
on_place = function(itemstack, user, pointed_thing)
|
||||||
screwdriver_handler(itemstack, user, pointed_thing, ROTATE_AXIS)
|
screwdriver_handler(itemstack, user, pointed_thing, screwdriver.ROTATE_AXIS)
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user