JSON tank/hover support
This commit is contained in:
@@ -550,6 +550,8 @@ public class ContentParser{
|
||||
case "naval" -> UnitWaterMove::create;
|
||||
case "payload" -> PayloadUnit::create;
|
||||
case "missile" -> TimedKillUnit::create;
|
||||
case "tank" -> TankUnit::create;
|
||||
case "hover" -> ElevationMoveUnit::create;
|
||||
case "tether" -> BuildingTetherPayloadUnit::create;
|
||||
default -> throw new RuntimeException("Invalid unit type: '" + value + "'. Must be 'flying/mech/legs/naval/payload/missile/tether'.");
|
||||
};
|
||||
|
||||
@@ -25,4 +25,4 @@ org.gradle.caching=true
|
||||
#used for slow jitpack builds; TODO see if this actually works
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
archash=bcd63cbeaa
|
||||
archash=075789c973
|
||||
|
||||
Reference in New Issue
Block a user