v1.2.0: fixed item particle effects not updating when itemslots update
This commit is contained in:
parent
4b8ddabfde
commit
06b72e7e5f
|
@ -164,8 +164,7 @@ public class ItemSlot extends Button {
|
||||||
public void item( Item item ) {
|
public void item( Item item ) {
|
||||||
if (this.item == item) {
|
if (this.item == item) {
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
sprite.frame(item.image());
|
sprite.view( item );
|
||||||
sprite.glow(item.glowing());
|
|
||||||
}
|
}
|
||||||
updateText();
|
updateText();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user