Fixed launched items not saving
This commit is contained in:
@@ -37,6 +37,14 @@ public class EventType{
|
||||
|
||||
public static class LaunchEvent{}
|
||||
|
||||
public static class LaunchItemEvent{
|
||||
public final ItemStack stack;
|
||||
|
||||
public LaunchItemEvent(Item item, int amount){
|
||||
this.stack = new ItemStack(item, amount);
|
||||
}
|
||||
}
|
||||
|
||||
public static class MapMakeEvent{}
|
||||
|
||||
public static class MapPublishEvent{}
|
||||
|
||||
@@ -9,7 +9,7 @@ import io.anuke.mindustry.type.*;
|
||||
@Serialize
|
||||
public class Stats{
|
||||
/** Items delivered to global resoure counter. Zones only. */
|
||||
public transient ObjectIntMap<Item> itemsDelivered = new ObjectIntMap<>();
|
||||
public ObjectIntMap<Item> itemsDelivered = new ObjectIntMap<>();
|
||||
/** Enemy (red team) units destroyed. */
|
||||
public int enemyUnitsDestroyed;
|
||||
/** Total waves lasted. */
|
||||
|
||||
Reference in New Issue
Block a user