Update SpawnGroup.java (#9065)
This commit is contained in:
@@ -128,7 +128,7 @@ public class SpawnGroup implements JsonSerializable, Cloneable{
|
|||||||
String tname = data.getString("type", "dagger");
|
String tname = data.getString("type", "dagger");
|
||||||
|
|
||||||
type = content.unit(LegacyIO.unitMap.get(tname, tname));
|
type = content.unit(LegacyIO.unitMap.get(tname, tname));
|
||||||
if(type == null) type = UnitTypes.dagger;
|
if(type == null || type.internal) type = UnitTypes.dagger;
|
||||||
begin = data.getInt("begin", 0);
|
begin = data.getInt("begin", 0);
|
||||||
end = data.getInt("end", never);
|
end = data.getInt("end", never);
|
||||||
spacing = data.getInt("spacing", 1);
|
spacing = data.getInt("spacing", 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user