From e94fe80a49afb4385cf09bc881e83d00e96fa4f8 Mon Sep 17 00:00:00 2001 From: jojo Date: Thu, 24 Dec 2020 14:33:28 +0100 Subject: [PATCH] Remove cluttered if --- .../src/de/steamwar/bausystem/commands/CommandTPSLimiter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java index 7aa70d2..474518b 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java @@ -76,8 +76,6 @@ public class CommandTPSLimiter implements CommandExecutor { sendInvalidArgumentMessage(player); return false; } - if (tpsLimitDouble <= 1) tpsLimitDouble = (int)(tpsLimitDouble * 10) / 10.0; - else tpsLimitDouble = (int)tpsLimitDouble; currentTPSLimit = tpsLimitDouble; sendNewTPSLimitMessage(); tpsLimiter();