From 7c8d78581e71064dd8b391183f886f59f815ae85 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 28 Apr 2024 13:46:35 -0500 Subject: [PATCH] debug option added in canJoin for charter type --- src/engine/mbEnums.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/mbEnums.java b/src/engine/mbEnums.java index da4e5741..1db79b91 100644 --- a/src/engine/mbEnums.java +++ b/src/engine/mbEnums.java @@ -2587,9 +2587,9 @@ public class mbEnums { public boolean canJoin(AbstractCharacter character) { if(this.requiredRaces.contains(character.absRace) == false) return false; - if(this.requiredClasses.contains(character.absPromotionClass)) + if(this.requiredClasses.contains(character.absPromotionClass) == false) return false; - if(this.sexRequired.contains(character.absGender)) + if(this.sexRequired.contains(character.absGender) == false) return false; return true;