siege engineer can be slotted in siege tents

This commit is contained in:
2025-03-30 08:24:13 -05:00
parent c3d6422d59
commit e2854b3e86
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -737,6 +737,9 @@ public class Contract extends AbstractGameObject {
if (this.allowedBuildings.size() == 0)
return false;
if(this.name.equals("Siege Engineer") && building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.SIEGETENT))
return true;
// Binary match
return (building.getBlueprint().getBuildingGroup().elementOf(this.allowedBuildings));
}