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

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