Use the proper boostergroup for amplifier thanks
This commit is contained in:
parent
4efe1fe76d
commit
9c42f4c147
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user