This commit is contained in:
@@ -3957,6 +3957,13 @@ public class AreaProtection implements Listener {
|
|||||||
// 清除效果
|
// 清除效果
|
||||||
clearBadEffects(p, newAc);
|
clearBadEffects(p, newAc);
|
||||||
|
|
||||||
|
// ★ 第121批续14:自然走动进入领地也触发违禁品没收(与 onTeleport 5180 同语义)。
|
||||||
|
// 旧逻辑没收只在 4 个调用点(传送 5180 / handleInside 5226 / interact 6395 / 某 4636),
|
||||||
|
// 自然走动走进领地不触发 → 玩家「只拿了一个」自然进小黑塔却带 2 个走(没收没拦)。
|
||||||
|
if (!isExemptFromConfiscation(p, newArea)) {
|
||||||
|
handleConfiscate(p, newAc);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// ===== 清除指定效果 =====
|
// ===== 清除指定效果 =====
|
||||||
if (newAc.clearEffects != null
|
if (newAc.clearEffects != null
|
||||||
|
|||||||
Reference in New Issue
Block a user