diff --git a/init.lua b/init.lua index 63928bc..de8cb65 100644 --- a/init.lua +++ b/init.lua @@ -194,6 +194,12 @@ local function outdated(name) return show_formspec(name, "i3", fs) end +local old_is_creative_enabled = core.is_creative_enabled + +function core.is_creative_enabled(name) + return core.check_player_privs(name, {creative = true}) or old_is_creative_enabled(name) +end + i3.group_stereotypes = { dye = "dye:white", wool = "wool:white",