diff options
author | red-001 <red-001@outlook.ie> | 2017-04-10 20:13:20 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-10 21:13:20 +0200 |
commit | e8d872332040c16714ff6410d1f859adcec4766e (patch) | |
tree | 2fcbd3e1f947ebbe7e4cc5b86c51d9fd29ca3123 /clientmods/preview | |
parent | 0bc306e3371c4fe2211876156bcbc8a5e2092e22 (diff) | |
download | minetest-e8d872332040c16714ff6410d1f859adcec4766e.tar.gz minetest-e8d872332040c16714ff6410d1f859adcec4766e.tar.bz2 minetest-e8d872332040c16714ff6410d1f859adcec4766e.zip |
[CSM] Move `.list_players` and `.disconnect` to builtin. (#5550)
Diffstat (limited to 'clientmods/preview')
-rw-r--r-- | clientmods/preview/init.lua | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua index 5c0628bfe..df07f8c3f 100644 --- a/clientmods/preview/init.lua +++ b/clientmods/preview/init.lua @@ -126,16 +126,3 @@ core.register_on_punchnode(function(pos, node) return false end) --- This is an example function to ensure it's working properly, should be removed before merge -core.register_chatcommand("list_players", { - func = function(param) - core.display_chat_message(dump(core.get_player_names())) - end -}) - -core.register_chatcommand("disconnect", { - description = "Exit to main menu", - func = function(param) - core.disconnect() - end, -}) |