use global_exist to check if mesecons is available

This commit is contained in:
Niklp 2022-11-06 11:19:15 +01:00 committed by GitHub
parent 75dca89737
commit 554d79b740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
local S = function(pos) if pos then return minetest.pos_to_string(pos) end end
--local P = minetest.string_to_pos
--local M = minetest.get_meta
local has_mesecons = minetest.get_modpath("mesecons_mvps")
local has_mesecons = minetest.global_exists("mesecons_mvps")
local NodeInfoCache = {}
local NumbersToBeRecycled = {}