From fa180c3c45ebe068a5f620dcae63e275b8ed3854 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 9 Oct 2017 11:17:34 +0100 Subject: Updating to 0.4.16+ functions --- extra.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra.lua') diff --git a/extra.lua b/extra.lua index 13c0139..da056e9 100644 --- a/extra.lua +++ b/extra.lua @@ -107,7 +107,7 @@ minetest.register_node("ethereal:candle", { length = 1.0 } }, - }, + }, paramtype = "light", light_source = 11, sunlight_propagates = true, @@ -288,7 +288,7 @@ minetest.register_tool("ethereal:light_staff", { minetest.swap_node(pos, {name = "ethereal:glostone"}) - if not minetest.setting_getbool("creative_mode") then + if not ethereal.check_creative(user:get_player_name()) then itemstack:add_wear(65535 / 149) -- 150 uses end -- cgit v1.2.3