Don't stop mining when planning (#8945)

This commit is contained in:
南门阳德 2023-08-17 21:15:37 +08:00 committed by GitHub
parent 63d036d6ed
commit 6e33827576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -477,7 +477,7 @@ public class DesktopInput extends InputHandler{
schematicY += shiftY; schematicY += shiftY;
} }
if(Core.input.keyTap(Binding.deselect) && !isPlacing() && !commandMode){ if(Core.input.keyTap(Binding.deselect) && !isPlacing() && player.unit().plans.isEmpty() && !commandMode){
player.unit().mineTile = null; player.unit().mineTile = null;
} }