v0.4.2: fixed an incorrect reference in itemslot

This commit is contained in:
Evan Debenham 2016-09-04 01:46:07 -04:00
parent a719101272
commit e9b5161d5e

View File

@ -142,7 +142,7 @@ public class ItemSlot extends Button {
public void item( Item item ) {
if (this.item == item) {
if (item != null) icon.frame(item.image);
if (item != null) icon.frame(item.image());
updateText();
return;
}