mirror of
https://github.com/mt-mods/playerfactions.git
synced 2025-12-20 06:55:19 +01:00
add mtt support
This commit is contained in:
7
init.lua
7
init.lua
@@ -1,6 +1,9 @@
|
||||
-- Translation support
|
||||
local S = minetest.get_translator("playerfactions")
|
||||
|
||||
-- For integration testing
|
||||
local do_mtt = minetest.get_modpath("mtt") and mtt.enabled
|
||||
|
||||
-- Data
|
||||
factions = {}
|
||||
-- This variable "version" can be used by other mods to check the compatibility of this mod
|
||||
@@ -541,4 +544,8 @@ do
|
||||
end
|
||||
end
|
||||
|
||||
if do_mtt then
|
||||
dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/mtt.lua")
|
||||
end
|
||||
|
||||
print("[playerfactions] loaded")
|
||||
|
||||
Reference in New Issue
Block a user