Skip to content
This repository was archived by the owner on Nov 25, 2019. It is now read-only.

Commit 4f28b44

Browse files
committed
fix compilation error
1 parent 167e6a1 commit 4f28b44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PGM/src/main/java/tc/oc/pgm/tokens/gui/MutationConfirmInterface.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import tc.oc.commons.bukkit.gui.buttons.Button;
99
import tc.oc.commons.bukkit.gui.interfaces.ChestInterface;
1010
import tc.oc.commons.bukkit.util.ItemCreator;
11+
import tc.oc.pgm.commands.CommandUtils;
1112
import tc.oc.pgm.mutation.Mutation;
1213
import tc.oc.pgm.polls.PollManager;
1314
import tc.oc.pgm.polls.types.PollMutation;
@@ -37,7 +38,7 @@ public void updateButtons() {
3738
@Override
3839
public void function(Player player) {
3940
try {
40-
pollManager.startPoll(pollMutationFactory.create(player, mutation));
41+
pollManager.startPoll(pollMutationFactory.create(player, mutation, CommandUtils.senderToMatchPlayer(player).getPlayerId()));
4142
player.closeInventory();
4243
} catch (CommandException e) {
4344
player.sendMessage(ChatColor.RED + "Another poll is already running.");

0 commit comments

Comments
 (0)