This commit is contained in:
Anuken
2021-02-04 09:25:52 -05:00
parent 3ae48b8753
commit 9f510f61c7
+1 -1
View File
@@ -434,7 +434,7 @@ public class LExecutor{
} }
case build -> { case build -> {
if(unit.canBuild() && exec.obj(p3) instanceof Block block){ if(unit.canBuild() && exec.obj(p3) instanceof Block block){
int x = World.toTile(x1), y = World.toTile(y1); int x = World.toTile(x1 - block.offset/tilesize), y = World.toTile(y1 - block.offset/tilesize);
int rot = exec.numi(p4); int rot = exec.numi(p4);
//reset state of last request when necessary //reset state of last request when necessary