From 735d3efcda9b70b7a27bbf6223d174e4bd3a4875 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Sat, 28 Aug 2021 19:20:33 -0700 Subject: [PATCH] Remove "core" methods aliases --- api.lua | 19 ------------------- changelog.txt | 1 + 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/api.lua b/api.lua index aa2cd81..1a7684e 100644 --- a/api.lua +++ b/api.lua @@ -108,22 +108,3 @@ function wdata.write(fname, data, flags) return core.safe_file_write(fpath, json_data) end - - ---- Aliases --- --- @section aliases - ---- Alias of `wdata.read`. --- --- @falias minetest.read_world_config -if not core.read_world_config then - core.read_world_config = wdata.read -end - ---- Alias of `wdata.write`. --- --- @falias minetest.write_world_config -if not core.write_world_config then - core.write_world_config = wdata.write -end diff --git a/changelog.txt b/changelog.txt index 299c25c..32d6ee8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ next ---- - changed wdata.write method to take table parameter "flags" instead of boolean "styled" - added flag option "null_to_table" for wdata.write that converts null values to tables +- removed "core" methods aliases v1.1