From 542add1ff7ea3ea8678abcc6e411d8b13eb6f570 Mon Sep 17 00:00:00 2001 From: Hea3veN Date: Fri, 3 Apr 2015 12:44:50 -0300 Subject: [PATCH] fix formatting of the robot position in the debugger --- common/buildcraft/robotics/EntityRobot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/robotics/EntityRobot.java b/common/buildcraft/robotics/EntityRobot.java index 8690934c..57511ba6 100644 --- a/common/buildcraft/robotics/EntityRobot.java +++ b/common/buildcraft/robotics/EntityRobot.java @@ -1141,7 +1141,7 @@ public class EntityRobot extends EntityRobotBase implements @Override public void getDebugInfo(List info, ForgeDirection side, ItemStack debugger, EntityPlayer player) { info.add("Robot " + board.getNBTHandler().getID() + " (" + getBattery().getEnergyStored() + "/" + getBattery().getMaxEnergyStored() + " RF)"); - info.add("Position: " + posX + ", " + posY + ", " + posZ); + info.add(String.format("Position: %.2f, %.2f, %.2f", posX, posY, posZ)); info.add("AI tree:"); AIRobot aiRobot = mainAI; while (aiRobot != null) {