Refine ghast speed message to display human-readable speed names
This commit is contained in:
1 parent
7f6d4c4b36
commit
7625c57b8b
1 file changed
+1
-1
+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