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 ) {
if (this.item == item) {
if (item != null) {
sprite.frame(item.image());
sprite.glow(item.glowing());
sprite.view( item );
}
updateText();
return;