diff --git a/lib/GMLIB_API-JS.js b/lib/GMLIB_API-JS.js index 7b0c089..d97fc34 100644 --- a/lib/GMLIB_API-JS.js +++ b/lib/GMLIB_API-JS.js @@ -35,7 +35,10 @@ const GMLIB_API = { registerBrewingMixRecipe: ll.import("GMLib_ModAPI", "registerBrewingMixRecipe"), registerFurnaceRecipe: ll.import("GMLib_ModAPI", "registerFurnaceRecipe"), registerShapedRecipe: ll.import("GMLib_ModAPI", "registerShapedRecipe"), - registerShapelessRecipe: ll.import("GMLib_ModAPI", "registerShapelessRecipe") + registerShapelessRecipe: ll.import("GMLib_ModAPI", "registerShapelessRecipe"), + isVersionMatched: ll.import("GMLIB_API", "isVersionMatched"), + getVersion_LRCA: ll.import("GMLIB_API", "getVersion_LRCA"), + getVersion_GMLIB: ll.import("GMLIB_API", "getVersion_GMLIB") } const FloatingTextList = []; diff --git a/src/Plugin.cpp b/src/Plugin.cpp index a8dd1ad..6246abd 100644 --- a/src/Plugin.cpp +++ b/src/Plugin.cpp @@ -12,6 +12,7 @@ Plugin::Plugin(ll::plugin::NativePlugin& self) : mSelf(self) { Export_Compatibility_API(); ExportPAPI(); logger.info("GMLIB-LegacyRemoteCallApi Loaded!"); + logger.info("Version: {}", LIB_VERSION.asString()); logger.info("Author: GroupMountain"); logger.info("Repository: https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi"); }