fix: fix fake list API imports to GMLib_ServerAPI

This commit is contained in:
zimuya4153
2025-08-17 17:01:41 +08:00
Unverified
parent e6d9356e72
commit 2b18aeb245
+3 -3
View File
@@ -221,11 +221,11 @@ const GMLIB_API = {
/** 获取方块RuntimeId @type {function(string,number):number} */ /** 获取方块RuntimeId @type {function(string,number):number} */
getBlockRuntimeId: ll.imports("GMLIB_API", "getBlockRuntimeId"), getBlockRuntimeId: ll.imports("GMLIB_API", "getBlockRuntimeId"),
/** 添加虚假列表玩家 @type {function(string,string):boolean} */ /** 添加虚假列表玩家 @type {function(string,string):boolean} */
addFakeList: ll.imports("GMLIB_API", "addFakeList"), addFakeList: ll.imports("GMLib_ServerAPI", "addFakeList"),
/** 删除虚假列表玩家 @type {function(string):boolean} */ /** 删除虚假列表玩家 @type {function(string):boolean} */
removeFakeList: ll.imports("GMLIB_API", "removeFakeList"), removeFakeList: ll.imports("GMLib_ServerAPI", "removeFakeList"),
/** 删除所有虚假列表玩家 @type {function():void} */ /** 删除所有虚假列表玩家 @type {function():void} */
removeAllFakeLists: ll.imports("GMLIB_API", "removeAllFakeList"), removeAllFakeLists: ll.imports("GMLib_ServerAPI", "removeAllFakeList"),
/** 启用I18n修复 @type {function():void} */ /** 启用I18n修复 @type {function():void} */
setFixI18nEnabled: ll.imports("GMLib_ModAPI", "setFixI18nEnabled"), setFixI18nEnabled: ll.imports("GMLib_ModAPI", "setFixI18nEnabled"),
/** 获取方块翻译键名 @type {function(Block):string} */ /** 获取方块翻译键名 @type {function(Block):string} */