V0.2.1: Crystal Chests no longer show their contents in the loot indicator.
This commit is contained in:
parent
346f5b4e88
commit
c66cc2fc46
|
@ -56,6 +56,9 @@ public class ItemSlot extends Button {
|
|||
public static final Item LOCKED_CHEST = new Item() {
|
||||
public int image() { return ItemSpriteSheet.LOCKED_CHEST; };
|
||||
};
|
||||
public static final Item CRYSTAL_CHEST = new Item() {
|
||||
public int image() { return ItemSpriteSheet.CRYSTAL_CHEST; };
|
||||
};
|
||||
public static final Item TOMB = new Item() {
|
||||
public int image() { return ItemSpriteSheet.TOMB; };
|
||||
};
|
||||
|
|
|
@ -66,6 +66,7 @@ public class LootIndicator extends Tag {
|
|||
Item item =
|
||||
heap.type == Heap.Type.CHEST ? ItemSlot.CHEST :
|
||||
heap.type == Heap.Type.LOCKED_CHEST ? ItemSlot.LOCKED_CHEST :
|
||||
heap.type == Heap.Type.CRYSTAL_CHEST ? ItemSlot.CRYSTAL_CHEST :
|
||||
heap.type == Heap.Type.TOMB ? ItemSlot.TOMB :
|
||||
heap.type == Heap.Type.SKELETON ? ItemSlot.SKELETON :
|
||||
heap.peek();
|
||||
|
|
Loading…
Reference in New Issue
Block a user