Merge pull request #3456 from DeltaNedas/mapsize

add @mapx/y to logic processor
This commit is contained in:
Anuken
2020-11-19 10:12:32 -05:00
committed by GitHub

View File

@@ -305,6 +305,8 @@ public class LogicBlock extends Block{
}
}
asm.putConst("@mapw", world.width());
asm.putConst("@maph", world.height());
asm.putConst("@links", executor.links.length);
asm.putConst("@ipt", instructionsPerTick);