1
0
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:
LeMagnesium 2015-06-23 20:43:19 +02:00
parent 9d1144b21d
commit 7dd61d7bac

View File

@ -8,6 +8,7 @@ local privs = {}
minetest.register_craftitem("broomstick:broomstick", {
description = "Broomstick",
inventory_image = "broomstick.png",
stack_max = 1,
on_use = function(itemstack, user, pointed_thing)
local playername = user:get_player_name()
if mana.get(playername) >= broomstick_mana then