v0.4.1: fixed some bugs with item slot changes

This commit is contained in:
Evan Debenham 2016-07-21 01:45:25 -04:00 committed by Evan Debenham
parent 60edaf8292
commit 1c2bb40b26

View File

@ -149,15 +149,15 @@ public class ItemSlot extends Button {
this.item = item;
if (item == null) {
active = false;
enable(false);
icon.visible(false);
updateText();
} else {
active = true;
enable(true);
icon.visible(true);
icon.view( item );