From 12a971660d5bcbf632cc477c215a38df0d916b2f Mon Sep 17 00:00:00 2001
From: Lars Hofhansl <larsh@apache.org>
Date: Fri, 29 Sep 2017 12:59:11 -0700
Subject: [PATCH] Creative: Do not give creative priv to admin

---
 mods/creative/init.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mods/creative/init.lua b/mods/creative/init.lua
index 7b842eda..9295c8a6 100644
--- a/mods/creative/init.lua
+++ b/mods/creative/init.lua
@@ -2,7 +2,8 @@ creative = {}
 
 minetest.register_privilege("creative", {
 	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")
-- 
GitLab