From efa544d80c82e98e2c717b5b74bee8e511a9b782 Mon Sep 17 00:00:00 2001 From: Yaruma3341 Date: Sun, 12 Jan 2020 18:16:29 +0100 Subject: [PATCH] hotfix --- .../src/de/steamwar/bausystem/commands/CommandInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java index 9555a61..ab147a1 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java @@ -52,7 +52,7 @@ public class CommandInfo implements CommandExecutor { float[] roundedTps = new float[3]; for(int i = 0; i < tps.length; i++) { - roundedTps[i] = Math.round(tps[0]); + roundedTps[i] = tps[i] > 20.0D ? 20.0F : Math.round(tps[i]); } return roundedTps; }