stack check for wild hive rightclick
This commit is contained in:
parent
9c76f1c738
commit
b92d862836
2
init.lua
2
init.lua
@ -440,6 +440,8 @@ minetest.register_node("bees:hive_wild", {
|
||||
|
||||
on_rightclick = function(pos, _, clicker, itemstack)
|
||||
|
||||
if not itemstack then return end
|
||||
|
||||
minetest.show_formspec(clicker:get_player_name(),
|
||||
"bees:hive_artificial",
|
||||
hive_wild(pos, (itemstack:get_name() == "bees:grafting_tool"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user