Creative: Do not give creative priv to admin
This commit is contained in:
parent
be96530e20
commit
d37c1d2312
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user