Skip to content

Commit

Permalink
Fix /voteshop (shop) not working
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Jul 23, 2024
1 parent f5e9a45 commit e8bf487
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ public void execute(CommandSender sender, String[] args) {
placeholders.put("limit", "" + limit);
if (user.removePoints(points, true)) {

plugin.getRewardHandler().giveReward(user, plugin.getGui().getData(),
plugin.getRewardHandler().giveReward(user, plugin.getShopFile().getData(),
plugin.getShopFile().getShopIdentifierRewardsPath(identifier),
new RewardOptions().setPlaceholders(placeholders));

Expand Down

0 comments on commit e8bf487

Please sign in to comment.