From f511ab1a0c39364ba622eec95894cea853fcf32e Mon Sep 17 00:00:00 2001 From: Pepich Date: Sat, 18 Feb 2017 18:54:19 +0100 Subject: [PATCH] Removed %s from string --- src/com/redstoner/modules/scriptutils/Scriptutils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/redstoner/modules/scriptutils/Scriptutils.java b/src/com/redstoner/modules/scriptutils/Scriptutils.java index 434b830..8d3ab40 100644 --- a/src/com/redstoner/modules/scriptutils/Scriptutils.java +++ b/src/com/redstoner/modules/scriptutils/Scriptutils.java @@ -8,7 +8,7 @@ import com.redstoner.annotations.Version; import com.redstoner.misc.Utils; import com.redstoner.modules.Module; -@Version(major = 1, minor = 0, revision = 0, compatible = 1) +@Version(major = 1, minor = 0, revision = 1, compatible = 1) public class Scriptutils implements Module { private boolean enabled = false; @@ -25,7 +25,7 @@ public class Scriptutils implements Module Utils.broadcast("", "§r", null); Utils.broadcast("", "§9" + name + " is restarting the server.", null); Utils.broadcast("", "§a§lServer is going to restart in " + timeout + " seconds.", null); - Utils.broadcast("", "§6§l%s" + reason, null); + Utils.broadcast("", "§6§l" + reason, null); Utils.broadcast("", "§r", null); Utils.broadcast("", "§r", null); Utils.broadcast("", "§2§l=============================================", null);