Many various fixes

This commit is contained in:
Anuken
2020-09-03 14:04:30 -04:00
parent 13a2319416
commit 90aed50ca8
15 changed files with 151 additions and 95 deletions

View File

@@ -8,7 +8,6 @@ import mindustry.gen.*;
import mindustry.logic.LExecutor.*;
import mindustry.logic.LStatements.*;
import mindustry.type.*;
import mindustry.world.blocks.logic.*;
/** "Compiles" a sequence of statements into instructions. */
public class LAssembler{
@@ -66,7 +65,7 @@ public class LAssembler{
}
public static Seq<LStatement> read(String data){
return read(data, LogicBlock.maxInstructions);
return read(data, LExecutor.maxInstructions);
}
public static Seq<LStatement> read(String data, int max){