Add message command
This commit is contained in:
@@ -47,7 +47,7 @@ public class DonateThread extends Thread {
|
||||
|
||||
lastDonate = objects.getInt("id");
|
||||
|
||||
DonPayInteg.commands.addLast("title @a title \"" + msg.replace("{username}", objects.getJSONObject("vars").getString("name")) + "\"");
|
||||
DonPayInteg.commands.addLast(ConfigHandler.load().getMessageCmd().replace("{message}", msg.replace("{username}", objects.getJSONObject("vars").getString("name"))));
|
||||
DonPayInteg.commands.addLast(cmd.replace("{username}", objects.getJSONObject("vars").getString("name")));
|
||||
|
||||
LOGGER.info("Exec donate #{}", lastDonate);
|
||||
|
||||
Reference in New Issue
Block a user