mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-16 06:40:33 +02:00
Use proper creative mode check (#59)
This commit is contained in:
@ -112,7 +112,7 @@ minetest.register_node("cavestuff:stalactite_1",{
|
||||
name = "cavestuff:stalactite_"..math.random(1,3),
|
||||
param2 = minetest.dir_to_wallmounted(vector.multiply(dir, -1))
|
||||
})
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
if not minetest.is_creative_enabled(playername) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user