From abd944b05dbf27aceb6548273c02cc6ad12362b9 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Tue, 24 Feb 2026 18:37:28 +0800 Subject: [PATCH] =?UTF-8?q?chore:=E5=BE=AE=E8=B0=83checkBlock=E8=AF=BB?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/maps.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/maps.js b/libs/maps.js index 81680c4c..f92a9a36 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -900,7 +900,8 @@ maps.prototype._canMoveDirectly_checkNextPoint = function (blocksObj, x, y, floo if (!ignore) return false; } - const checkBlockInfo = core.control.getCheckBlock(floorId); + const checkBlockInfo = core.control.getCheckBlock ? core.control.getCheckBlock(floorId) : + core.status.checkBlock; // 是否存在阻激夹域伤害 if (checkBlockInfo) { if (checkBlockInfo.damage[index]) return false;