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

@@ -348,7 +348,7 @@ task updateBundles{
StringBuilder result = new StringBuilder()
//add everything ordered
for(String key : base.orderedKeys().copy().and(extras.keys().toSeq())){
for(String key : base.orderedKeys().copy().add(extras.keys().toSeq())){
if(other.get(key) == null) continue
result.append(processor.get(key, other.get(key)))

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");