diff --git a/jte/src/main/java/gg/jte/compiler/java/JavaCodeGenerator.java b/jte/src/main/java/gg/jte/compiler/java/JavaCodeGenerator.java index e747f064..ff351d51 100644 --- a/jte/src/main/java/gg/jte/compiler/java/JavaCodeGenerator.java +++ b/jte/src/main/java/gg/jte/compiler/java/JavaCodeGenerator.java @@ -73,6 +73,7 @@ public void onParam(String parameter) { } private void writeClass() { + javaCode.append("@SuppressWarnings(\"unchecked\")\n"); javaCode.append("public final class ").append(classInfo.className).append(" {\n"); fieldsMarker = javaCode.getMarkerOfCurrentPosition(); javaCode.append("\tpublic static void render(");