Skip to content

Commit

Permalink
Fix update item when only an ItemStack is given
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt committed Jan 20, 2022
1 parent c587490 commit 722b7be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/dev/triumphteam/gui/guis/BaseGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ public void updateItem(final int slot, @NotNull final ItemStack itemStack) {
return;
}

guiItem.setItemStack(itemStack);
updateItem(slot, guiItem);
}

Expand Down

0 comments on commit 722b7be

Please sign in to comment.