Refine ghast speed message to display human-readable speed names
This commit is contained in:
parent
7f6d4c4b36
commit
7625c57b8b
|
|
@ -66,7 +66,7 @@ public class GhastSpeed extends SubCommand {
|
|||
|
||||
attribute.setBaseValue(newSpeed);
|
||||
commandSender.sendRichMessage(Messages.GHAST_SPEED.NEW_SPEED_SET_TO,
|
||||
Placeholder.parsed("speed", String.valueOf(newSpeed)));
|
||||
Placeholder.parsed("speed", ghastSpeed.name().toLowerCase().replace("_", " ")));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user