creative: Update for compatibility with minetest.creative_is_enabled (#2691)
[oweals/minetest_game.git] / game_api.txt
index 561387d2993e482be780d1472467172916f28562..3f311336a351343cc59f3de763b94977e7dfcadb 100644 (file)
@@ -93,11 +93,9 @@ For example,
 is used to show all tools. Name is used in the sfinv page name, title is the
 human readable title.
 
-`is_enabled_for` is used to check whether a player is in creative mode:
-
-    creative.is_enabled_for(name)
-
-Override this to allow per-player game modes.
+Creative provides `creative.is_enabled_for(name)`, which is identical in
+functionality to the engine's `minetest.creative_is_enabled(name)`.
+Its use is deprecated and it should also not be overriden.
 
 The contents of `creative.formspec_add` is appended to every creative inventory
 page. Mods can use it to add additional formspec elements onto the default