Refine ghast speed message to display human-readable speed names
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user