mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-01 14:08:08 +01:00
Fix format specifiers in waypoint editor
This commit is contained in:
parent
b90a0f6b45
commit
a7e926b44a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user