refactor misc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user