Skip to content

Commit

Permalink
libmthelpers: [+] add optional simple modtable export
Browse files Browse the repository at this point in the history
  • Loading branch information
thetaepsilon committed Oct 16, 2018
1 parent d141398 commit 9877e6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions libmthelpers/depends.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
modns
modtable?
5 changes: 5 additions & 0 deletions libmthelpers/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if minetest.get_modpath("modtable") then
local lib = mtrequire("com.github.thetaepsilon.minetest.libmthelpers")
modtable_register("ds2.minetest.libmthelpers", lib)
end

0 comments on commit 9877e6a

Please sign in to comment.