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
commit 08a50edb23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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