v0.4.2: fixed an incorrect reference in itemslot
This commit is contained in:
parent
a719101272
commit
e9b5161d5e
|
@ -142,7 +142,7 @@ public class ItemSlot extends Button {
|
||||||
|
|
||||||
public void item( Item item ) {
|
public void item( Item item ) {
|
||||||
if (this.item == item) {
|
if (this.item == item) {
|
||||||
if (item != null) icon.frame(item.image);
|
if (item != null) icon.frame(item.image());
|
||||||
updateText();
|
updateText();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user