Use the proper boostergroup for amplifier thanks

This commit is contained in:
Shaun Bennett 2016-07-28 13:27:48 -05:00
parent 4efe1fe76d
commit 9c42f4c147

View File

@ -88,7 +88,7 @@ public class GameBoosterManager extends MiniPlugin
}
JsonMessage message = new JsonMessage(F.main("Amplifier", F.elem("Click here") + " to thank them and receive " + F.currency(GlobalCurrency.TREASURE_SHARD, BoosterTipManager.TIP_FOR_TIPPER) + "!"));
message.click(ClickEvent.RUN_COMMAND, "/amplifier thank " + _boosterGroup);
message.click(ClickEvent.RUN_COMMAND, "/amplifier thank " + event.getBoosterGroup());
message.hover(HoverEvent.SHOW_TEXT, C.cGreen + "Click to Thank");
message.send(JsonMessage.MessageType.CHAT_BOX, UtilServer.getPlayers());
}