v1.2.0: fixed item particle effects not updating when itemslots update

This commit is contained in:
Evan Debenham 2022-02-05 19:04:11 -05:00
parent 4b8ddabfde
commit 06b72e7e5f

View File

@ -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;