sanity check for ``minetest.encode_png

This commit is contained in:
BuckarooBanzay 2023-01-29 13:49:00 +01:00
parent 72aadab7fd
commit a66e0f31ae

View file

@ -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(),