Skip to content

Commit

Permalink
remove player from opening lists if they hit deny
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Sep 30, 2024
1 parent 5646227 commit 965f919
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ public CrateButton(final Crate crate, final Prize prize, final ConfigurationSect
PrizeManager.givePrize(player, prize, this.crate);

this.userManager.removeRespinPrize(uuid, this.crate.getFileName());

this.crateManager.removePlayerFromOpeningList(player);
this.crateManager.removeCrateInUse(player);
this.crateManager.removeCrateTask(player);
this.crateManager.endCrate(player);
}
}
});
Expand Down

0 comments on commit 965f919

Please sign in to comment.