Creative: Do not give creative priv to admin

This commit is contained in:
Lars Hofhansl 2017-09-29 12:59:11 -07:00 committed by SmallJoker
parent b6626f76b5
commit 12a971660d

View File

@ -2,7 +2,8 @@ creative = {}
minetest.register_privilege("creative", { minetest.register_privilege("creative", {
description = "Allow player to use creative inventory", description = "Allow player to use creative inventory",
give_to_singleplayer = false give_to_singleplayer = false,
give_to_admin = false
}) })
local creative_mode_cache = minetest.settings:get_bool("creative_mode") local creative_mode_cache = minetest.settings:get_bool("creative_mode")