This commit is contained in:
Anuken
2019-01-07 21:22:06 -05:00
parent fed964e0f7
commit a6f7bd9099
7 changed files with 53 additions and 27 deletions

View File

@@ -1,6 +1,5 @@
package io.anuke.mindustry.entities;
import io.anuke.mindustry.content.Items;
import io.anuke.mindustry.entities.traits.Saveable;
import io.anuke.mindustry.type.Item;
import io.anuke.mindustry.type.ItemStack;
@@ -13,7 +12,7 @@ import static io.anuke.mindustry.Vars.content;
public class UnitInventory implements Saveable{
private final Unit unit;
private ItemStack item = new ItemStack(Items.stone, 0);
private ItemStack item = new ItemStack(content.item(0), 0);
public UnitInventory(Unit unit){
this.unit = unit;

View File

@@ -23,7 +23,7 @@ public class UnitDrops{
}
if(dropTable == null){
dropTable = new Item[]{Items.densealloy, Items.silicon, Items.lead, Items.copper};
dropTable = new Item[]{Items.titanium, Items.silicon, Items.lead, Items.copper};
}
for(int i = 0; i < 3; i++){