Try fix error
This commit is contained in:
		@@ -114,6 +114,8 @@ public void removeHandCard(PowerCard card) {
 | 
			
		||||
     * @param piece as the piece which should be added to the waitingArea attribute of Player class as a Piece object.
 | 
			
		||||
     */
 | 
			
		||||
    public void addWaitingPiece(Piece piece) {
 | 
			
		||||
        piece.setState(PieceState.WAITING);
 | 
			
		||||
 | 
			
		||||
        for (int i = 0; i < Resources.MAX_PIECES; i++) {
 | 
			
		||||
            if (this.waitingArea[i] == null) {
 | 
			
		||||
                this.waitingArea[i] = piece;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user