Skip to content

Commit

Permalink
Fixed voteshop exra items rewards not working
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Aug 9, 2024
1 parent b583b71 commit 7a500f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void onClick(ClickEvent event) {
public void onClick(ClickEvent clickEvent) {
plugin.getCommandLoader().processSlotClick(player, user, str);
new RewardBuilder(plugin.getShopFile().getData(),
"CHEST.VoteShopExtraItems." + str + "." + clickEvent.getButton().getLastRewardsPath(player))
"ExtraItems." + str + "." + clickEvent.getButton().getLastRewardsPath(player))
.setGiveOffline(false).send(clickEvent.getPlayer());
}
});
Expand Down

0 comments on commit 7a500f9

Please sign in to comment.