summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Martinez <kaeza@users.sf.net>2015-08-09 10:45:45 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-08-09 10:46:31 -0400
commitf2362ed38e71c05b0ad41d31827319315af5a877 (patch)
tree11eb15a86314bfb822ac53e4cfdde0e476e96a97
parent94218fb5a98d97ca19039b755f78cd9b64154448 (diff)
use alias for deprecated functions
-rw-r--r--init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index a1cd355..2f6f82c 100644
--- a/init.lua
+++ b/init.lua
@@ -10,6 +10,8 @@
biome_lib = {}
+plantslib = setmetatable({}, { __index=function(t,k) print("Use of deprecated function:", k) return biomes_lib[k] end })
+
biome_lib.blocklist_aircheck = {}
biome_lib.blocklist_no_aircheck = {}