mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 17:44:56 +00:00
Make prefix appear in morle message
This commit is contained in:
parent
cfe45eb0ad
commit
ef12b23147
1 changed files with 3 additions and 0 deletions
|
@ -581,6 +581,9 @@ public class PlayerListener implements Listener {
|
|||
Command_doom.doom(Bukkit.getConsoleSender(), player);
|
||||
event.setMessage(BY_BEING_A_MOLE_YOU_MOCK_YOURSELF.get(
|
||||
secureRandom.nextInt(BY_BEING_A_MOLE_YOU_MOCK_YOURSELF.size())));
|
||||
event.setFormat(ChatColor.translateAlternateColorCodes('&',
|
||||
MainConfig.getString(ConfigurationEntry.CHAT_FORMAT))
|
||||
.replace("{RANK}", playerdata.getTag().replaceAll("%", "%%")));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue