v0.3.4: fixed bottom right icons sticking in quickslots
This commit is contained in:
parent
e0892b07ea
commit
bdbd813c6b
|
@ -142,6 +142,11 @@ public class ItemSlot extends Button {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void item( Item item ) {
|
public void item( Item item ) {
|
||||||
|
if (bottomRightIcon != null){
|
||||||
|
remove(bottomRightIcon);
|
||||||
|
bottomRightIcon = null;
|
||||||
|
}
|
||||||
|
|
||||||
if (item == null) {
|
if (item == null) {
|
||||||
|
|
||||||
active = false;
|
active = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user