From e4130214d3fb7a142175cbbde909833a4bbd83e9 Mon Sep 17 00:00:00 2001 From: jojo Date: Sun, 1 Nov 2020 13:26:21 +0100 Subject: [PATCH] Optimize Code --- src/de/steamwar/misslewars/scripts/Script.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/misslewars/scripts/Script.java b/src/de/steamwar/misslewars/scripts/Script.java index 883a9d5..6b987fb 100644 --- a/src/de/steamwar/misslewars/scripts/Script.java +++ b/src/de/steamwar/misslewars/scripts/Script.java @@ -72,7 +72,7 @@ public class Script { new ScriptExecutor(runnableScriptEvent).start(); } - public void add(RunnableScript runnableScript) { + private void add(RunnableScript runnableScript) { runnableScriptList.add(runnableScript); }