mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 04:09:07 +07:00
getChild -> remove
This commit is contained in:
parent
c7f1204119
commit
2d70e00193
@ -555,7 +555,7 @@ public class ContentParser{
|
||||
if(stripType) jsonMap.remove("type");
|
||||
|
||||
if(object instanceof UnlockableContent unlock){
|
||||
JsonValue research = jsonMap.getChild("research");
|
||||
JsonValue research = jsonMap.remove("research");
|
||||
//add research tech node
|
||||
if(research != null){
|
||||
String researchName;
|
||||
|
Loading…
Reference in New Issue
Block a user