forked from minetest/minetest_game
Creative: Do not give creative priv to admin
This commit is contained in:
parent
b6626f76b5
commit
12a971660d
|
@ -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…
Reference in New Issue
Block a user