Fixed annotations

This commit is contained in:
Anuken
2022-05-10 00:14:33 -04:00
parent 6efca04ea8
commit f7e74bdbfc
4 changed files with 6 additions and 6 deletions

View File

@@ -104,7 +104,7 @@ public class ScriptMainGenerator{
StringBuilder cdef = new StringBuilder();
Seq<Class<?>> mapped = classes.select(c -> Modifier.isPublic(c.getModifiers()) && packages.contains(c.getCanonicalName()::startsWith))
.and(Block.class); //special case
.add(Block.class); //special case
for(Class<?> c : mapped){
cdef.append(" classes.put(\"").append(c.getSimpleName()).append("\", ").append(c.getCanonicalName()).append(".class);\n");