Fixed mistake in chat prefix

This commit is contained in:
Joel 2021-02-21 17:44:17 +01:00
parent 09a4a6140f
commit 01871a9b4b

@ -112,7 +112,7 @@ public class ChatManager extends Module {
&& !optionalAccount.get().hasRank(Rank.GAMER) && !optionalAccount.get().hasRank(Rank.HELPER)) {
//TODO the actual cooldown in numbers.
player.sendMessage(Style.main("Chat", "You have to wait &63 &7more seconds in-order to chat!"));
player.sendMessage(Style.error("Chat", "This can be bypassed by " + Rank.GAMER.getPrefix() + " &7or &bhigher&7!"));
player.sendMessage(Style.main("Chat", "This can be bypassed by " + Rank.GAMER.getPrefix() + " &7or &bhigher&7!"));
player.playSound(player.getLocation(), XSound.ENTITY_VILLAGER_NO.parseSound(),0.5f, 1f);
return;
}