This commit is contained in:
Anuken
2023-06-18 09:08:09 -04:00
parent 54d7f3e17c
commit 509a6a28b5

View File

@@ -415,7 +415,7 @@ public class MobileInput extends InputHandler implements GestureListener{
//draw last placed plan
if(!plan.breaking && plan == lastPlaced && plan.block != null){
int rot = block == null ? rotation : block.planRotation(rotation);
int rot = plan.block.planRotation(rotation);
boolean valid = validPlace(tile.x, tile.y, plan.block, rot);
Draw.mixcol();
plan.block.drawPlace(tile.x, tile.y, rot, valid);