mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Fixed #8557
This commit is contained in:
parent
bc622bd7ba
commit
d85995f6fd
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue