From 7a778c0484aff7a82b31915283fd9c890f570d81 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Fri, 27 Nov 2020 15:36:38 +0100 Subject: [PATCH 1/2] Fixing Loader to 0 --- .../src/de/steamwar/bausystem/world/AutoLoader.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java b/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java index 24350e7..99e26a7 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java @@ -119,8 +119,8 @@ public class AutoLoader extends IAutoLoader implements Listener { } public void wait(int time){ - if(time < 0){ - print("§cNegative Wartezeit", false); + if(time < 1){ + print("§cNegative oder Null Wartezeit", false); return; } @@ -129,8 +129,8 @@ public class AutoLoader extends IAutoLoader implements Listener { } public void blockWait(int time){ - if(time < 0){ - print("§cNegative Wartezeit", false); + if(time < 1){ + print("§cNegative oder Null Wartezeit", false); return; } -- 2.39.5 From d600297d4d4c254447587be2cfdef8d057576048 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Fri, 27 Nov 2020 15:38:10 +0100 Subject: [PATCH 2/2] Change Language --- .../src/de/steamwar/bausystem/world/AutoLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java b/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java index 99e26a7..384dfe8 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/AutoLoader.java @@ -120,7 +120,7 @@ public class AutoLoader extends IAutoLoader implements Listener { public void wait(int time){ if(time < 1){ - print("§cNegative oder Null Wartezeit", false); + print("§cDie Wartezeit ist zu klein", false); return; } @@ -130,7 +130,7 @@ public class AutoLoader extends IAutoLoader implements Listener { public void blockWait(int time){ if(time < 1){ - print("§cNegative oder Null Wartezeit", false); + print("§cDie Wartezeit ist zu klein", false); return; } -- 2.39.5