mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-18 00:08:25 +01:00
Broomsticks are stackable by 1
This commit is contained in:
parent
9d1144b21d
commit
7dd61d7bac
@ -8,6 +8,7 @@ local privs = {}
|
|||||||
minetest.register_craftitem("broomstick:broomstick", {
|
minetest.register_craftitem("broomstick:broomstick", {
|
||||||
description = "Broomstick",
|
description = "Broomstick",
|
||||||
inventory_image = "broomstick.png",
|
inventory_image = "broomstick.png",
|
||||||
|
stack_max = 1,
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
local playername = user:get_player_name()
|
local playername = user:get_player_name()
|
||||||
if mana.get(playername) >= broomstick_mana then
|
if mana.get(playername) >= broomstick_mana then
|
||||||
|
Loading…
Reference in New Issue
Block a user