v0.4.1: fixed some bugs with item slot changes
This commit is contained in:
parent
60edaf8292
commit
1c2bb40b26
|
@ -150,14 +150,14 @@ public class ItemSlot extends Button {
|
|||
|
||||
if (item == null) {
|
||||
|
||||
active = false;
|
||||
enable(false);
|
||||
icon.visible(false);
|
||||
|
||||
updateText();
|
||||
|
||||
} else {
|
||||
|
||||
active = true;
|
||||
enable(true);
|
||||
icon.visible(true);
|
||||
|
||||
icon.view( item );
|
||||
|
|
Loading…
Reference in New Issue
Block a user