siege engineer can be slotted in siege tents
This commit is contained in:
1 parent
c3d6422d59
commit
e2854b3e86
2 files changed
+5
-1
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user