mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 07:20:31 +01:00
[screwdriver] Fix handler call
- Also remove some whitespaces from stairs for convenience
This commit is contained in:
parent
c6d49a03b5
commit
a6572fafc5
|
@ -100,7 +100,7 @@ minetest.register_tool("screwdriver:screwdriver", {
|
|||
return itemstack
|
||||
end,
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
screwdriver_handler(itemstack, user, pointed_thing, screwdriver.ROTATE_AXIS)
|
||||
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_AXIS)
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
@ -110,11 +110,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, screwdriver.ROTATE_FACE, 10000)
|
||||
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 10000)
|
||||
return itemstack
|
||||
end,
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
screwdriver_handler(itemstack, user, pointed_thing, screwdriver.ROTATE_AXIS, 10000)
|
||||
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_AXIS, 10000)
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user