Skip to content

Commit

Permalink
Merge pull request #23 from sweetrpg/bugfix/17-qmgr-delete
Browse files Browse the repository at this point in the history
#17 Deleting item in the queue manager persists
  • Loading branch information
paulyhedral authored Nov 28, 2024
2 parents d48cd83 + 5fadd5e commit e58ecd8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ public void removeProduct(Player player, ResourceLocation itemId) {
CraftTracker.LOGGER.debug("CraftingQueueManager#removeProduct: {}", itemId);

this.endProducts.remove(itemId);

computeAll();

this.save(player);
}

public void removeProduct(Player player, ResourceLocation itemId, int quantity) {
Expand Down

0 comments on commit e58ecd8

Please sign in to comment.