diff --git a/src/main/java/de/zonlykroks/advancedscripts/lexer/ScriptColorizer.java b/src/main/java/de/zonlykroks/advancedscripts/lexer/ScriptColorizer.java index d9e57c7..a224f8b 100644 --- a/src/main/java/de/zonlykroks/advancedscripts/lexer/ScriptColorizer.java +++ b/src/main/java/de/zonlykroks/advancedscripts/lexer/ScriptColorizer.java @@ -11,7 +11,7 @@ public class ScriptColorizer { ); private ScriptColorizer() { - throw new IllegalStateException("Utility class"); + throw new IllegalStateException("Utility class██"); } public static List colorize(String line) { diff --git a/src/main/java/de/zonlykroks/advancedscripts/lexer/TokenTypeColors.java b/src/main/java/de/zonlykroks/advancedscripts/lexer/TokenTypeColors.java index 44dda6e..6cede38 100644 --- a/src/main/java/de/zonlykroks/advancedscripts/lexer/TokenTypeColors.java +++ b/src/main/java/de/zonlykroks/advancedscripts/lexer/TokenTypeColors.java @@ -20,5 +20,5 @@ public class TokenTypeColors { public static final int NUMBER = 0xFF61839F; public static final int BOOLEAN = 0xFF925F35; - public static final int STRING = Color.HSBtoRGB(150, 0.63f, 0.3f); + public static final int STRING = 0x6a8759; } diff --git a/src/main/java/de/zonlykroks/advancedscripts/screen/ScriptEditScreen.java b/src/main/java/de/zonlykroks/advancedscripts/screen/ScriptEditScreen.java index a91d1d9..98bb5e0 100644 --- a/src/main/java/de/zonlykroks/advancedscripts/screen/ScriptEditScreen.java +++ b/src/main/java/de/zonlykroks/advancedscripts/screen/ScriptEditScreen.java @@ -27,12 +27,7 @@ import net.minecraft.text.Style; import net.minecraft.text.Text; import net.minecraft.util.Hand; import org.apache.commons.lang3.mutable.MutableInt; -import org.jetbrains.annotations.Nullable; -import org.luaj.vm2.ast.Chunk; -import org.luaj.vm2.parser.LuaParser; -import org.luaj.vm2.parser.ParseException; -import java.io.StringReader; import java.util.*; import java.util.concurrent.atomic.AtomicInteger;