mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
UnitType type -> class
This commit is contained in:
parent
b8dac1e408
commit
e62c2f9d8e
10 changed files with 1 additions and 10 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue