Fixed pmd violations in BlockMap and Player.