fix formatting of the robot position in the debugger
This commit is contained in:
parent
5ad693bea8
commit
542add1ff7
1 changed files with 1 additions and 1 deletions
|
@ -1141,7 +1141,7 @@ public class EntityRobot extends EntityRobotBase implements
|
|||
@Override
|
||||
public void getDebugInfo(List<String> 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) {
|
||||
|
|
Loading…
Reference in a new issue