mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-27 14:13:11 +02:00
Old arrows.
This commit is contained in:
parent
1b79889dd4
commit
87621f7d28
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user