diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 11:17:34 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 11:17:34 +0100 |
commit | fa180c3c45ebe068a5f620dcae63e275b8ed3854 (patch) | |
tree | b134ebf6a53baba4922bce9087fc325b486e98e3 /extra.lua | |
parent | 87378233a1e51981b9c4b4202bb1f314feabd172 (diff) |
Updating to 0.4.16+ functions
Diffstat (limited to 'extra.lua')
-rw-r--r-- | extra.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |