1
0
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:
LeMagnesium 2015-05-28 18:30:18 +02:00
parent c347faaed6
commit b291b1587d

View File

@ -106,11 +106,11 @@ minetest.register_tool("screwdriver:screwdriver_perfect", {
description = "Perfect Screwdriver (left-click rotates face, right-click rotates axis)",
inventory_image = "screwdriver_perfect.png",
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
end,
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
end,
})