forked from mtcontrib/arrow_signs
For creative
This commit is contained in:
3
init.lua
3
init.lua
@ -97,8 +97,9 @@ arrow_signs_on_place = function(itemstack, placer, pointed_thing)
|
|||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
return itemstack
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user