refactor misc

This commit is contained in:
2025-05-03 20:49:03 +02:00
parent b18b53f195
commit a595b62fca
3 changed files with 9 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ public class PromoteCommand extends PlayerCommand {
public PromoteCommand(PromoteType promoteType) {
this.promoteType = promoteType;
assert this.promoteType != null;
this.pieceCoords = null;
this.oldPawn = null;
}