UnitType type -> class

This commit is contained in:
Anuken 2022-05-22 09:00:32 -04:00
parent b8dac1e408
commit e62c2f9d8e
10 changed files with 1 additions and 10 deletions

View file

@ -438,7 +438,7 @@ public class ContentParser{
UnitType unit;
if(locate(ContentType.unit, name) == null){
unit = make(resolve(value.getString("type", ""), UnitType.class), mod + "-" + name);
unit = make(resolve(value.getString("class", ""), UnitType.class), mod + "-" + name);
var typeVal = value.get("type");