forked from MagicBane/Server
Writing string of bitset for contracts.
This commit is contained in:
@@ -162,8 +162,9 @@ public class NPC extends AbstractCharacter {
|
||||
|
||||
//838, 950, 1051, 1181, 1251, 1351, 1451, 1501, 1526, 1551, 980101,
|
||||
|
||||
return contract.getAllowedBuildings().contains(BuildingGroup.WALLCORNER) ||
|
||||
contract.getAllowedBuildings().contains(BuildingGroup.WALLSTRAIGHTTOWER);
|
||||
if (contract.allowedBuildings.contains(BuildingGroup.WALLCORNER))
|
||||
return true;
|
||||
return contract.allowedBuildings.contains(BuildingGroup.WALLSTRAIGHTTOWER);
|
||||
}
|
||||
|
||||
//This method restarts an upgrade timer when a building is loaded from the database.
|
||||
|
||||
Reference in New Issue
Block a user