mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Fixed arbitrary logic string limit
This commit is contained in:
parent
799fc6029d
commit
0aabe9bbe0
1 changed files with 0 additions and 2 deletions
|
|
@ -140,7 +140,6 @@ public class LogicBlock extends Block{
|
|||
public LExecutor executor = new LExecutor();
|
||||
public float accumulator = 0;
|
||||
|
||||
//TODO refactor this system, it's broken.
|
||||
public Seq<LogicLink> links = new Seq<>();
|
||||
|
||||
public void readCompressed(byte[] data, boolean relative){
|
||||
|
|
@ -194,7 +193,6 @@ public class LogicBlock extends Block{
|
|||
|
||||
public void updateCodeVars(String str, Cons<LAssembler> assemble){
|
||||
if(str != null){
|
||||
if(str.length() >= Short.MAX_VALUE) str = str.substring(0, Short.MAX_VALUE - 1);
|
||||
code = str;
|
||||
|
||||
try{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue