Fix format specifiers in waypoint editor

This commit is contained in:
fullwall 2012-09-17 23:06:52 +08:00
parent cd8d30130f
commit ac34ec7946
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class LinearWaypointProvider implements WaypointProvider {
maxDistance = Math.pow(maxDistance, 2);
if (distance > maxDistance) {
Messaging.sendF(player, ChatColor.RED
+ "Previous waypoint is %d blocks away but the distance limit is %d.",
+ "Previous waypoint is %s blocks away but the distance limit is %s.",
StringHelper.wrap(distance, ChatColor.RED),
StringHelper.wrap(maxDistance, ChatColor.RED));
return;