Skip to content

Commit

Permalink
修复农场模式一次搜索过多目标点的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ENIACJushi committed Jun 13, 2024
1 parent 14fd8fd commit e7e72a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TouHouLittleMaid_BP/scripts/src/maid/MaidTarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class Farm{
* 若附近目标数少于6则开始扫描
*/
let existedTargets = dimension.getEntities({
"location": location, "maxDistance": range, "type": "thlmt:sugar_cane"});
"location": location, "maxDistance": range, "type": "thlmt:farm"});
if(existedTargets.length > 6) return;

///// 频率调整 /////
Expand Down
2 changes: 1 addition & 1 deletion TouHouLittleMaid_RP/texts/en_us.lang
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
message.tlm.player_join1=§e[TLM] Touhou Little Maid 1.2.3_hotfix2
message.tlm.player_join1=§e[TLM] Touhou Little Maid 1.2.3_hotfix3
message.tlm.player_join2=§e Visit mcmod.cn for complete tutorial.

##### UI #####
Expand Down
2 changes: 1 addition & 1 deletion TouHouLittleMaid_RP/texts/zh_CN.lang
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
message.tlm.player_join1=§e[TLM] 车万女仆 1.2.3_hotfix2
message.tlm.player_join1=§e[TLM] 车万女仆 1.2.3_hotfix3
message.tlm.player_join2=§e 访问 mcmod.cn 获取全部教程。

##### UI #####
Expand Down

0 comments on commit e7e72a0

Please sign in to comment.