v0.3.4: fixed bottom right icons sticking in quickslots

This commit is contained in:
Evan Debenham 2016-01-19 03:06:49 -05:00 committed by Evan Debenham
parent e0892b07ea
commit bdbd813c6b

View File

@ -142,6 +142,11 @@ public class ItemSlot extends Button {
}
public void item( Item item ) {
if (bottomRightIcon != null){
remove(bottomRightIcon);
bottomRightIcon = null;
}
if (item == null) {
active = false;