更新AbundantOre:修复坐标监控逻辑中的bug (#2445)

* fix bug in monitoring logic

* update username

* Add link
This commit is contained in:
Jamis
2025-12-06 18:48:27 +08:00
committed by GitHub
parent 0d93aedf06
commit 703b364cd8
4 changed files with 6 additions and 5 deletions

View File

@@ -29,6 +29,10 @@
## ChangeLog
### 0.25
- 修复坐标监控逻辑中未指定地图的bugspecial thanks to [@this-Fish](https://github.com/this-Fish)
### 0.22
- 增加处理过期物品的弹出窗口

View File

@@ -1,3 +0,0 @@
07-水晶块-层岩巨渊·地下矿区-巨渊主矿区-西北-3个.json
08-水晶块-层岩巨渊·地下矿区-临时主矿道-东-2个.json
10-水晶块-层岩巨渊·地下矿区-临时主矿道-南-2个.json

View File

@@ -406,7 +406,7 @@ async function run_pathing_script(name, path_state_change, current_states) {
if (!cancellation_token.isCancellationRequested) {
const curr_pos = (() => {
try {
const p = genshin.getPositionFromMap();
const p = genshin.getPositionFromMap(JSON.parse(json_content).info.map_name);
return [p.X, p.Y];
} catch (e) {}
return [null, null];

View File

@@ -2,7 +2,7 @@
"bgi_version": "0.50.0",
"manifest_version": 1,
"name": "矿产资源批发",
"version": "0.24",
"version": "0.25",
"description": "自动记录矿石刷新时间,优先选择效率最高的路线,支持按区域、种类、数量自动规划挖矿路线",
"authors": [
{