chore:修正自动拾取插件笔误
This commit is contained in:
parent
794da29e0d
commit
e04b7fd9b2
@ -2215,7 +2215,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
} else if (type === 'item') {
|
} else if (type === 'item') {
|
||||||
const item = core.material.items[block.event.id];
|
const item = core.material.items[block.event.id];
|
||||||
if (canGetItem(item, loc, floorId)) {
|
if (canGetItem(item, loc, floorId)) {
|
||||||
if (core.isReplaying()) animateHwnd.add(item.id, 32 * tx, 32 * ty);
|
if (!core.isReplaying()) animateHwnd.add(item.id, 32 * tx, 32 * ty);
|
||||||
core.getItem(item.id, 1, tx, ty);
|
core.getItem(item.id, 1, tx, ty);
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
@ -2252,7 +2252,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
core.setAlpha(ctxName, 0.6);
|
core.setAlpha(ctxName, 0.6);
|
||||||
}
|
}
|
||||||
bfs(core.status.floorId, deep);
|
bfs(core.status.floorId, deep);
|
||||||
if (core.isReplaying()) animateHwnd.start();
|
if (!core.isReplaying()) animateHwnd.start();
|
||||||
flags.__statistics__ = false;
|
flags.__statistics__ = false;
|
||||||
flags.__forbidSave__ = before;
|
flags.__forbidSave__ = before;
|
||||||
core.updateStatusBar();
|
core.updateStatusBar();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user