feat: add version to js-lib
This commit is contained in:
+4
-1
@@ -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 = [];
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user