mirror of
https://git.phreedom.club/localhost_frssoft/fediauth.git
synced 2025-01-08 00:51:14 +00:00
sanity check for ``minetest.encode_png
This commit is contained in:
parent
72aadab7fd
commit
a66e0f31ae
3
init.lua
3
init.lua
|
@ -1,5 +1,8 @@
|
||||||
local MP = minetest.get_modpath("otp")
|
local MP = minetest.get_modpath("otp")
|
||||||
|
|
||||||
|
-- sanity checks
|
||||||
|
assert(type(minetest.encode_png) == "function")
|
||||||
|
|
||||||
otp = {
|
otp = {
|
||||||
-- mod storage
|
-- mod storage
|
||||||
storage = minetest.get_mod_storage(),
|
storage = minetest.get_mod_storage(),
|
||||||
|
|
Loading…
Reference in a new issue