summaryrefslogtreecommitdiff
path: root/extra.lua
diff options
context:
space:
mode:
Diffstat (limited to 'extra.lua')
-rw-r--r--extra.lua4
1 files changed, 2 insertions, 2 deletions
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