added compatibility check

This commit is contained in:
TenPlus1 2016-11-17 12:59:39 +00:00
parent 074adb0a0f
commit 789b93ddbd

View File

@ -10,6 +10,11 @@ Edited by TenPlus1 (19th October 2016)
]]--
-- compatibility with older minetest versions
if not rawget(_G, "creative") then
local creative = {}
end
-- check for new creative addition
local addition = ""
if creative.formspec_add then