diff --git a/init.lua b/init.lua index 01ddefd..426cbdd 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,8 @@ local MP = minetest.get_modpath("otp") +-- sanity checks +assert(type(minetest.encode_png) == "function") + otp = { -- mod storage storage = minetest.get_mod_storage(),