mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Less capitals in broadcast msg
This commit is contained in:
parent
ade6fb2c1d
commit
c64e693861
@ -1,5 +1,6 @@
|
||||
Version 2.1.171
|
||||
Fixed a bug where arrows shot by infinite bow enchant would duplicate
|
||||
Fixed a bug where Archery XP would calculate incorrectly
|
||||
Axes can now replant cocoa plants (thanks Lyther)
|
||||
Players who level up at certain milestones have their level ups broadcast to the server (very configurable and optional, see notes)
|
||||
Added Level_Up_Chat_Broadcasts settings to config.yml under General
|
||||
|
@ -286,7 +286,7 @@ public class NotificationManager {
|
||||
.append(Component.text(primarySkillType.getName()+" reached level "+level)).color(TextColor.fromHexString(HEX_BEIGE_COLOR))
|
||||
.asHoverEvent();
|
||||
|
||||
String localeMessage = LocaleLoader.getString("Broadcasts.LevelUpMilestone", mmoPlayer.getPlayer().getDisplayName(), level, primarySkillType.toString());
|
||||
String localeMessage = LocaleLoader.getString("Broadcasts.LevelUpMilestone", mmoPlayer.getPlayer().getDisplayName(), level, primarySkillType.getName());
|
||||
Component message = Component.text(localeMessage).hoverEvent(levelMilestoneHover);
|
||||
|
||||
audience.sendMessage(Identity.nil(), message);
|
||||
|
Loading…
Reference in New Issue
Block a user