From ce4218d9783b58e904a4e7a33cdc84f712fa44f1 Mon Sep 17 00:00:00 2001 From: Repligator <33times@gmail.com> Date: Thu, 26 Sep 2024 14:34:30 -0400 Subject: [PATCH] Slight addition to Javadoc, hopefully it will save the next person who looks at an issue involving iscanon a couple minutes of looking around. --- megamek/src/megamek/common/Entity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/megamek/src/megamek/common/Entity.java b/megamek/src/megamek/common/Entity.java index e8e54d8c4af..8b29e531661 100644 --- a/megamek/src/megamek/common/Entity.java +++ b/megamek/src/megamek/common/Entity.java @@ -717,7 +717,9 @@ public abstract class Entity extends TurnOrdered implements Transporter, Targeta private final Vector hitBySwarmsWeapon = new Vector<>(); /** - * True if and only if this is a canon (published) unit. + * True if and only if this is a canon (published) unit. This is established + * by checking against a text file in the docs folder; "OfficialUnitList.txt". + * @see MekFileParser */ private boolean canon;