Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
fix selector for player.
Browse files Browse the repository at this point in the history
  • Loading branch information
Redbeanw44602 committed Apr 5, 2022
1 parent d368bb7 commit a9377b0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
> **2.82**
> **2.83**
- [x] 修复`CreateLand`xuid不存在时报错。
- [x] onFarmLandDecay,onStepOnPressurePlate 添加空坐标检查
- [x] 创建MEM时机改为prejoin
- [ ] nickname default?
- [ ] 领地里关闭了使用桶,仍然可以把水里的美西螈装走
- [x] 领地昵称中有%导致的错误
- [x] 修复获取玩家列表中的一问题

> ILAPI 示例插件计划
- [ ] Land Edge Shower
Expand Down
4 changes: 2 additions & 2 deletions iland-core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4029,14 +4029,14 @@ function GetPlayerList(mode,IncAll)
elseif mode == 1 then
for xuid,ex in pairs(base) do
local t = data.xuid2name(xuid)
if t then
if t and t ~= '' then
rtn[#rtn+1] = t
end
end
elseif mode == 2 then
for xuid,ex in pairs(base) do
local t = data.xuid2name(xuid)
if t then
if t or t ~= '' then
rtn[xuid] = t
end
end
Expand Down
2 changes: 1 addition & 1 deletion iland/lang/en_US.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION": 282,
"VERSION": 283,

"gui.land.title": "Land v<a>",
"gui.oplandmgr.trsland.title": "Forced transfer of land",
Expand Down
2 changes: 1 addition & 1 deletion iland/lang/zh_CN.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION": 282,
"VERSION": 283,
"#1": "zh_CN 标准汉语翻译贡献者:RedbeanW",

"gui.land.title": "Land v<a>",
Expand Down
2 changes: 1 addition & 1 deletion iland/lang/zh_TW.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION": 282,
"VERSION": 283,

"gui.land.title": "Land v<a>",
"gui.oplandmgr.trsland.title": "強製過戶領地",
Expand Down

0 comments on commit a9377b0

Please sign in to comment.