Reduced liquid transport explosiveness to mostly pre-capacity-increase levels

This commit is contained in:
Anuken
2025-04-19 00:46:17 -04:00
parent 93645aeeb7
commit 65146f9a11
6 changed files with 19 additions and 3 deletions

View File

@@ -664,6 +664,8 @@ public class ContentParser{
Planet parent = locate(ContentType.planet, value.getString("parent", ""));
Planet planet = new Planet(mod + "-" + name, parent, value.getFloat("radius", 1f), value.getInt("sectorSize", 0));
value.remove("sectorSize");
if(value.has("mesh")){
var mesh = value.get("mesh");
if(!mesh.isObject() && !mesh.isArray()) throw new RuntimeException("Meshes must be objects.");