Bumped to latest snapshot build (does not work with PRE4!)

This commit is contained in:
Stijn Bannink 2024-01-23 22:18:20 +01:00
parent 90c36c3bcc
commit 841f8c358f
3 changed files with 29 additions and 23 deletions

View file

@ -27,17 +27,17 @@ public class MainUtil {
public static String getTypeIdByClass(String baseVehicle, String type) throws ConversionException {
switch (type) {
case "BikeType":
return "bike";
return "bikes";
case "BoatType":
return "boat";
return "boats";
case "CarType":
return "car";
return "cars";
case "HelicopterType":
return "helicopter";
return "helicopters";
case "HovercraftType":
return "hovercraft";
return "hovercrafts";
case "PlaneType":
return "plane";
return "planes";
default:
throw new InvalidConversionException("vehicleType", baseVehicle);
}