mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-06 08:28:47 +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);
|
maxDistance = Math.pow(maxDistance, 2);
|
||||||
if (distance > maxDistance) {
|
if (distance > maxDistance) {
|
||||||
Messaging.sendF(player, ChatColor.RED
|
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(distance, ChatColor.RED),
|
||||||
StringHelper.wrap(maxDistance, ChatColor.RED));
|
StringHelper.wrap(maxDistance, ChatColor.RED));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user