From 7a500f9cca6aefdb16e4220983b1873df3a93872 Mon Sep 17 00:00:00 2001 From: BenCodez Date: Fri, 9 Aug 2024 16:04:32 -0400 Subject: [PATCH] Fixed voteshop exra items rewards not working --- .../com/bencodez/votingplugin/commands/gui/player/VoteShop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteShop.java b/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteShop.java index 819da6264..197c414fa 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteShop.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/commands/gui/player/VoteShop.java @@ -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()); } });