Old arrows.

This commit is contained in:
asofold 2017-04-07 22:21:26 +02:00
parent 1b79889dd4
commit 87621f7d28

View File

@ -371,10 +371,13 @@ public class MovingConfig extends ACheckConfig {
types = config.getStringList(ConfPaths.MOVING_VEHICLE_IGNOREDVEHICLES);
}
for (String stype : types) {
EntityType type = EntityType.valueOf(stype.toUpperCase());
if (type != null) {
ignoredVehicles.add(type);
try {
EntityType type = EntityType.valueOf(stype.toUpperCase());
if (type != null) {
ignoredVehicles.add(type);
}
}
catch (IllegalArgumentException e) {}
}
// Messages.