Commit d85995f6 authored by Anuken's avatar Anuken
Browse files

Fixed #8557

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -575,7 +575,7 @@ public class ContentParser{
if(!value.has("sector") || !value.get("sector").isNumber()) throw new RuntimeException("SectorPresets must have a sector number.");
SectorPreset out = new SectorPreset(name);
SectorPreset out = new SectorPreset(mod + "-" + name);
currentContent = out;
read(() -> {
......@@ -596,7 +596,7 @@ public class ContentParser{
if(value.isString()) return locate(ContentType.planet, name);
Planet parent = locate(ContentType.planet, value.getString("parent"));
Planet planet = new Planet(name, parent, value.getFloat("radius", 1f), value.getInt("sectorSize", 0));
Planet planet = new Planet(mod + "-" + name, parent, value.getFloat("radius", 1f), value.getInt("sectorSize", 0));
if(value.has("mesh")){
var mesh = value.get("mesh");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment