From a0fc096ff943a8291c47c0b2bea67469c2bd478a Mon Sep 17 00:00:00 2001 From: Pavel Braginskiy Date: Fri, 21 Feb 2025 12:22:04 -0800 Subject: [PATCH] Typos --- megamek/src/megamek/common/Mek.java | 2 +- megamek/src/megamek/common/verifier/TestMek.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/megamek/src/megamek/common/Mek.java b/megamek/src/megamek/common/Mek.java index 5f5a62e1ff7..45be2613602 100644 --- a/megamek/src/megamek/common/Mek.java +++ b/megamek/src/megamek/common/Mek.java @@ -1115,7 +1115,7 @@ public int getJumpMP(MPCalculationSetting mpCalculationSetting) { public boolean hasChainDrape() { for (MiscMounted mount : getMisc()) { - if (!mount.isDestroyed() && mount.getType().hasFlag(MiscType.F_CHAIN_DRAPE)) { + if (mount.getType().hasFlag(MiscType.F_CHAIN_DRAPE) && !mount.isDestroyed()) { return true; } } diff --git a/megamek/src/megamek/common/verifier/TestMek.java b/megamek/src/megamek/common/verifier/TestMek.java index 5c58114f908..4a0b5bc660a 100755 --- a/megamek/src/megamek/common/verifier/TestMek.java +++ b/megamek/src/megamek/common/verifier/TestMek.java @@ -442,11 +442,11 @@ public boolean checkMiscSpreadAllocation(Entity entity, Mounted mounted, } if (mt.hasFlag(MiscType.F_CHAIN_DRAPE)) { if (countCriticalSlotsFromEquipInLocation(entity, mounted, Mek.LOC_LT) != 3) { - buff.append("incorrect number of chain draop crits in left torso\n"); + buff.append("incorrect number of chain drape crits in left torso\n"); return false; } if (countCriticalSlotsFromEquipInLocation(entity, mounted, Mek.LOC_RT) != 3) { - buff.append("incorrect number of chain draop crits in right torso\n"); + buff.append("incorrect number of chain drape crits in right torso\n"); return false; } }